Eric Milles created GROOVY-10419:
------------------------------------
Summary: STC: stack overflow for elvis assignment with explicit
setter
Key: GROOVY-10419
URL: https://issues.apache.org/jira/browse/GROOVY-10419
Project: Groovy
Issue Type: Bug
Reporter: Eric Milles
Consider the following:
{code:groovy}
class C {
def p
void setP(p) {
this.p = p
}
}
@groovy.transform.TypeChecked
void test(C c) {
c.p ?= 'x'
}
test(new C())
{code}
Elvis assignment overflows stack in STC's {{ensureValidSetter}}.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)