Saravanan created GROOVY-11670:
----------------------------------

             Summary: Class names that start with lower case letters
                 Key: GROOVY-11670
                 URL: https://issues.apache.org/jira/browse/GROOVY-11670
             Project: Groovy
          Issue Type: Improvement
          Components: parser-antlr4
    Affects Versions: 4.0.26, 5.0.0-alpha-12
            Reporter: Saravanan


Classes that start with a lower case name cause parsing errors. I am compiling 
this with @CompileStatic enabled in the compilerConfiguration
{code:java}
public class recordTesting {

    private static recordTesting someFunction() {
        return null;
    }
}{code}
Unexpected input: ';\n\npublic class recordTesting {\n\n    private static 
recordTesting someFunction(' @ line 5, column 46.
   tic recordTesting someFunction() {
                                 ^



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

Reply via email to