Changelog for Groovy 3.0.22
Bug
- [GROOVY-11223] - STC: error message for inaccessible setter is not too helpful
- [GROOVY-11335] - STC: for loop element type inference with multiple instanceof
- [GROOVY-11352] - Reference to this in ctor before this/super call false positive
- [GROOVY-11362] - implicit type of catch parameter is written as Object
- [GROOVY-11363] - Bootstrap method error for method reference used with a primitive literal
- [GROOVY-11364] - STC loses generic specialization on inheritance
- [GROOVY-11368] - SC: map access different for parameter and local variable of same type
- [GROOVY-11369] - STC: map properties "class" and "empty" indicated as read-only
- [GROOVY-11370] - STC: extension method cannot provide map property (read mode)
- [GROOVY-11372] - STC: write property via extension method
- [GROOVY-11378] - array or collection coercion of non-collection iterable produces single-element result
- [GROOVY-11384] - STC: map property access within closure
- [GROOVY-11385] - reference to the constructor of an abstract class is not detected
- [GROOVY-11387] - STC: entry vs field for map-based types
- [GROOVY-11390] - access error for inaccessible getter of super class
- [GROOVY-11399] - STC: inferred type of closure delegate, owner and thisObject
- [GROOVY-11401] - STC: inferred type of name within closure (delegate property versus owner field) *
Dependency upgrade
- [GROOVY-11343] - Bump asm to 9.7
Improvement
- [GROOVY-11270] - Don't truncate argument types in MissingMethodException
* potentially breaking change (read issue for details - even minor differences are sometimes flagged as potentially breaking changes)