Uploaded image for project: 'SonarSlang'
  1. SonarSlang
  2. SONARSLANG-452

[Scala] Support analysis of Scala "script"

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Currently, analysis of files containing only Scala expressions is not supported, due to the fact that they are not valid at the top-level for Scala programs.

      1 + 2
      
      val x = 1
      
      println("abc");
      

      However, Scalameta seems to support the parsing from expression, we can use it to improve the current situation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                quentin.jaquier Quentin Jaquier
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: