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

[Scala] Support analysis of Scala "script"

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8
    • Component/s: Scala
    • 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:
              margarita.nedzelska Margarita Nedzelska
              Reporter:
              quentin.jaquier Quentin Jaquier
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: