Re: The .outer property

2011-03-06 Thread Stewart Gordon
On 05/03/2011 12:11, Iain Buclaw wrote: Is this behaviour correct? Should it even be legal to blindly allow access to members/fields via the .outer context pointer (that may not even be there as shown in this instance)? class Outer { int w = 3; void method() { int x = 4;

Re: The .outer property

2011-03-06 Thread Stewart Gordon
On 05/03/2011 12:11, Iain Buclaw wrote: Is this behaviour correct? Should it even be legal to blindly allow access to members/fields via the .outer context pointer (that may not even be there as shown in this instance)? snip Bug filed: http://d.puremagic.com/issues/show_bug.cgi?id=5711

The .outer property

2011-03-05 Thread Iain Buclaw
Is this behaviour correct? Should it even be legal to blindly allow access to members/fields via the .outer context pointer (that may not even be there as shown in this instance)? class Outer { int w = 3; void method() { int x = 4; new class Object {