Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
this code:
class A { private foo = 1 def getFoo(){ 10.times { println this.foo } return this.foo+1 } } def a = new A() println a.foo
should not end in a stack overflow
Attachments
Issue Links
- is depended upon by
-
GROOVY-2503 MOP 2.0 design inflluencing issues
-
- Open
-
- is duplicated by
-
GROOVY-10723 Closure in parent class can't access private method in same class when called from a child class
-
- Closed
-