[e-lang] Bug (0.8.35f): Scope oddities in ObjectExpr
with 'extends'; Kernel-E change proposal
Kevin Reid
kpreid at attglobal.net
Sun Mar 12 07:21:11 EST 2006
On Mar 12, 2006, at 2:53, Mark S. Miller wrote:
> Kevin Reid wrote:
>> OK. Given that, what do you think about making the 'implements'
>> definitions also not visible to the object's methods?
>
> It would violate the left-to-right and scope box nesting rules.
No; the 'implements' definitions would be inside their own box.
def x implements {[ Fluffy, Purple ]} { ... }
^^ ^^
as if these were present
(ignoring the fact that a List isn't an Auditor for the moment)
It might be considered to violate the rules relating syntax to kernel
structure, though.
--
Kevin Reid <http://homepage.mac.com/kpreid/>
More information about the e-lang
mailing list