[
https://issues.apache.org/jira/browse/GROOVY-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul King updated GROOVY-3539:
------------------------------
Summary: Some uses of SyntaxErrorMessage are semantic error exceptions not
syntax exceptions (was: Syntax error thrown, but should be semantic error)
> Some uses of SyntaxErrorMessage are semantic error exceptions not syntax
> exceptions
> -----------------------------------------------------------------------------------
>
> Key: GROOVY-3539
> URL: https://issues.apache.org/jira/browse/GROOVY-3539
> Project: Groovy
> Issue Type: Improvement
> Components: Compiler
> Affects Versions: 1.6.3
> Reporter: Andrew Eisenberg
> Priority: Minor
> Labels: contrib
>
> This program causes the compiler to throw a syntax error. However it should
> be a semantic error.
> {code}
> public class B {
> public void Test() {
> new NotExist()
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)