mahmood at MIT.EDU
Sat Aug 9 16:04:17 EDT 2008
Thank you for reporting the bug. The framework doesn't anything
clever with enclosed types yet, but should.
I think that the proper solution would be to have getReceiver use
another method that handles trees like EnclosingClass.this.foo.
I will add it to my TODO list and it should be fixed hopefully soon.
On Aug 7, 2008, at 9:54 PM, Artemus Harper wrote:
> Is this method (when it gets fixed) going to be responsible for
> determining which self type an expression refers to in the case of
> inner classes referring to outer class methods or fields?
> getReceiver depends on this method and its not giving me the correct
> results for inner classes, and I am planning to hack getSelfType to
> determine the correct receiver to return. I want to know if this
> will cause incompadibilities with future code.
> Artemus Harper
> JSR308 mailing list
> JSR308 at lists.csail.mit.edu
More information about the JSR308