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] [Created] (GROOVY-8553) Parrot Parser: parse fails for typecast of slashy string
Date Thu, 19 Apr 2018 14:48:00 GMT
Eric Milles created GROOVY-8553:
-----------------------------------

             Summary: 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
            Reporter: Eric Milles


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