Karl Henselin created GROOVY-11532:
--------------------------------------

             Summary: Parrot Parser doesn't seem to ever throw error on parse.
                 Key: GROOVY-11532
                 URL: https://issues.apache.org/jira/browse/GROOVY-11532
             Project: Groovy
          Issue Type: Bug
          Components: parser-antlr4
    Affects Versions: 3.0.23, 3.0.22
            Reporter: Karl Henselin


I created a small test project for this issue.

 

[https://github.com/karlhenselin/testGroovy]

using the prior parser,
new GroovyShell().parse("this is not valid;asdf;asdf;asdf;asdf;asdf ");
throws MultipleCompilationErrorsException
but on the new parser, no error is thrown on that line.

I have tried adding options to try and get it to throw, but I can can get to 
work is
System.setProperty("groovy.antlr4", "false");



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to