Changelog for Groovy 2.4.3
Bug
- [GROOVY-6637] - CompileStatic when accessing parent class static properties produces access forbidden message with incorrect line number info
- [GROOVY-6757] - Explicit type hints are not respected
- [GROOVY-7307] - Narrower generic type not taken into account when calling another generic method
- [GROOVY-7316] - CompileStatic cannot infer generic return type
- [GROOVY-7355] - VerifyError if a closure shared variable of a foreach style loop is used with @CompileStatic
- [GROOVY-7356] - Compiler internal error if inside an optimized foreach loop and the body contains a try/catch block
- [GROOVY-7357] - Optimized foreach loops should perform a null check
- [GROOVY-7358] - Optimized foreach loops should handle "continue" properly
- [GROOVY-7359] - CompileStack#removeVar: tried to remove a temporary variable with index 2 in wrong order
- [GROOVY-7361] - VerifyError when private variable is used in synchronized block
- [GROOVY-7364] - Invalid type inference with a generic method / return type and optional parameter
Improvement
- [GROOVY-6123] - Cannot use @CompileStatic with loop over Enumeration
- [GROOVY-6240] - static type checker cannot infer type of for loop variable from map