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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4.5
    • 2.6.0-alpha-1
    • Compiler
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: