groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Milles (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GROOVY-8553) Parrot Parser: parse fails for typecast of slashy string
Date Thu, 19 Apr 2018 15:20:00 GMT

     [ 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)

Mime
View raw message