[
https://issues.apache.org/jira/browse/GROOVY-8553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Milles updated GROOVY-8553:
--------------------------------
Component/s: (was: parser)
parser-antlr4
> Parrot Parser: parse fails for typecast of slashy string
> --------------------------------------------------------
>
> Key: GROOVY-8553
> URL: https://issues.apache.org/jira/browse/GROOVY-8553
> Project: Groovy
> Issue Type: Bug
> Components: parser-antlr4
> Reporter: Eric Milles
> Priority: Minor
>
> This single-line script fails to parse:
> {code:groovy}
> def p = (java.util.regex.Pattern) /abc/
> {code}
> This one succeeds:
> {code:groovy}
> def p = (java.util.regex.Pattern) "abc"
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)