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

Support variable and constant definition with templating

    XMLWordPrintable

    Details

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

      Description

      Main affected language: Scala, GO

      Affected rules: RSPEC-117RSPEC-1481, RSPEC-2068

      • Scala

      scala.meta.Defn$Val$DefnValImpl -> VariableDeclarationTreeImpl 64%, NativeTreeImpl 36%
      scala.meta.Defn$Var$DefnVarImpl -> VariableDeclarationTreeImpl 35% NativeTreeImpl 65%

      val  (x,y) = (1, 2) // x = 1, y = 2
      var z :: zs = List(1, 2, 3) // z = 1, zs = List(2,3)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: