Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Consider the following:
class C { def p void setP(p) { this.p = p } } @groovy.transform.TypeChecked void test(C c) { c.p ?= 'x' } test(new C())
Elvis assignment overflows stack in STC's ensureValidSetter.
Attachments
Issue Links
- relates to
-
GROOVY-10628 Elvis assignment operator loses type information
- Closed