Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0-alpha-1
    • Component/s: parser-antlr2
    • Labels:
      None

      Description

      GStrings have problems with their various sub parts: the constant strings and the variables interpolated.
      With this example:

      def gs1 = "-$a-${b}-${->c}-"
      

      The first constant string represents "-$ instead of just the minus sign.
      The second and third constant are -$ instead of just the minus sign again.
      And the last constant is -", instead of just the minus sign, it's going one character too far.
      Now on to the variables.
      Variable a is okay.
      Varible b is actually

      {b}

      and I think it should be just b
      And the closure expression is jut right too.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                daniel_sun Daniel Sun
                Reporter:
                Guillaume Guillaume Delcroix
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: