[ 
https://issues.apache.org/jira/browse/GROOVY-10406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17454834#comment-17454834
 ] 

Paul King commented on GROOVY-10406:
------------------------------------

Another example:
{code:java}
assert ($/$$/$ + 'x' + /$$/) == '$x$$'   // Unexpected input: '$/) == '$' at 
line: 1, column: 26
{code}
And the CST:
 !screenshot-1.png! 

> Dollar slashy string is too greedy
> ----------------------------------
>
>                 Key: GROOVY-10406
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10406
>             Project: Groovy
>          Issue Type: Bug
>          Components: lexer
>    Affects Versions: 3.0.9
>            Reporter: Daniil Ovchinnikov
>            Priority: Major
>         Attachments: screenshot-1.png
>
>
> This code compiles fine in 2.5.14, but fails to compile in 3.0.9.
> {code:groovy}
> println([$/$$/$ : /$$/])
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to