paulk-asert opened a new pull request, #3236: URL: https://github.com/apache/groovy/pull/3236
A binding variable resolves to a DynamicVariable, which is not an AST node, so reading the checker's regex metadata from it made the compiler fail with a general error instead of reporting the undeclared variable. Read the metadata only from AST nodes and leave other variables untracked. The Pattern.matcher(...) and Matcher.group(...) paths are only reached once binding variables carry checked types (GROOVY-12462); a stub extension standing in for that covers them. -- 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]
