groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Sun (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (GROOVY-8553) Parrot Parser: parse fails for typecast of slashy string
Date Mon, 23 Apr 2018 02:10:00 GMT

     [ https://issues.apache.org/jira/browse/GROOVY-8553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Sun reassigned GROOVY-8553:
----------------------------------

    Assignee: Daniel Sun

> 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
>            Assignee: Daniel Sun
>            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