You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (Jira)" <ji...@apache.org> on 2019/11/25 23:54:00 UTC

[jira] [Assigned] (GROOVY-8553) Parrot Parser: parse fails for typecast of slashy string

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

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

    Assignee:     (was: 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
>            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
(v8.3.4#803005)