[Pharo-project] syntax highlighting for (stateful) traits (non-local methods)
toon.verwaest at gmail.com
Sun Apr 3 13:35:45 CEST 2011
On 04/03/2011 02:31 PM, Alexandre Bergel wrote:
>>> Can you merge state? What happens with C.x uses T.x ? Methods of T will use T.x and methods of C will use C.x?
>> At the moment you can't, but in our slot library we have alias slots. So that we could use to do the same tricks as with methods: required slots, provided slots, "defrosted slots", ...
> I am lost. I understand that a trait have a class have a different scope of slots. But you cannot define C.x and T.x? Why?
Doh, I see. There's a stupid test that raises a conflict cause it finds
slots that are conflicting. While actually they are not conflicting. Let
me fix that ;)
More information about the Pharo-project