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

New line between prefix operator and operand

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0-alpha-2
    • None
    • parser-antlr4
    • None

    Description

      The following code is parsed properly in previous versions, but fails in 3.0:

      def c = --
      1
      
      println c // 0

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            daniilo Daniil Ovchinnikov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: