[Grace-core] Super-Outer-Objects: What does your language (gBeta/Newspeak/Scala/Java…) do with this? What should Grace do?

Andrew P. Black black at cs.pdx.edu
Wed Nov 21 17:56:36 PST 2012


On 21 Nov 2012, at 17:27 , James Noble wrote:

>  For a start, inside the B.foo method, currently writing "A.pathological" is a 
> "public" request to A (sees only public methods),

I'm pretty sure that A.pathological is a syntax error: undeclared variable A.  A is not in scope on the rhs of def A = ...

Maybe it should be allowed, but right now, it's not.  Going form memory, I don't believe that the spec says anything about this.

	Andrew


More information about the Grace-core mailing list