Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-8553

Parrot Parser: parse fails for typecast of slashy string

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • parser-antlr4
    • None

    Description

      This single-line script fails to parse:

      def p = (java.util.regex.Pattern) /abc/
      

      This one succeeds:

      def p = (java.util.regex.Pattern) "abc"
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            emilles Eric Milles
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: