Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Consider the following:
@groovy.transform.TypeChecked void test() { def closure = String.&toLowerCaseX java.util.function.Function<String,String> reference = String::toLowerCaseX }
Neither of these misspellings result in a compiler error. Also no metadata is saved in the AST to understand what method is being referenced if the names are fixed.