paulk-asert opened a new pull request, #3241: URL: https://github.com/apache/groovy/pull/3241
Accept builtInType in variableDeclaratorId (and use that rule for the enhanced-for and catch variables) so that AstBuilder can report "'long' is a primitive type name and cannot be used as a variable name" on the name itself, for every declaration form including parameters. Reject an assignment to a built-in type name the same way, so (parsed as the call ) and no longer reach ResolveVisitor's "you tried to assign a value to the class" message. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
