[Grace-core] Name resolution

James Noble kjx at ecs.vuw.ac.nz
Mon Mar 23 14:42:53 PDT 2015


On 24/03/2015, at 10:40 am, Andrew P. Black <andrew.p.black at gmail.com> wrote:

> 
> Indeed, we would.   That seems to be a feature of Michael’s proposals too, if I understand what he is proposing.
> That is, under “local”:
> 
> 	object {
> 		def x = …
> 		
> 		x
> 
> 	}
> 
> the request of ‘x' would be locally bound, and not subject to being overridden.

I think that under the local ruleset, if x is declared in an object constructor, it's always dynamically dispatched. 


J





More information about the Grace-core mailing list