On 26.06.20 17:21, Jochen Theodorou wrote: [...]
public class X { private String foo; public String getFoo(){ return this.foo; } public void setFoo(String foo){ this.foo = foo; } }This works perfectly fine in Java and would lead to a stack overflow in Groovy as soon as you call the getter or setter. Since it is quite common we have a problem here.
actually I am wondering.. what if we made this a compilation error? bye Jochen