[Pharo-project] syntax highlighting for (stateful) traits (non-local methods)

Alexandre Bergel alexandre.bergel at me.com
Sun Apr 3 14:31:41 CEST 2011


>> 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? 

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.








More information about the Pharo-project mailing list