Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-8131

Statement continued onto next line is flagged when first character is "="

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.5
    • Fix Version/s: 2.6.0-alpha-1
    • Component/s: Compiler
    • Labels:
      None
    • Environment:
      Ubuntu Linux

      `uname -a`:
      Linux biostar 4.4.0-69-generic #90-Ubuntu SMP Thu Mar 16 16:52:31 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

      Description

      Source code attached (grbug.java).

      `javac` v8 compiles variable declarations s1, s2, and s3 successfully.

      `groovyc` flags s3:
      "unexpected token: = @ line 9, column 3."

        Attachments

        1. grbug.java
          0.4 kB
          Richard Elkins

          Activity

            People

            • Assignee:
              daniel_sun Daniel Sun
              Reporter:
              texadactyl Richard Elkins
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: