Re: [Pharo-project] syntax highlighting for (stateful) traits (non-local methods)
April 3, 2011
11:38 a.m.
On Apr 3, 2011, at 1:29 PM, Alexandre Bergel wrote:
I guess that what Stef meant is the following: One of the problems when sharing code among mixin and stateful-trait application is that the physical layout of instances varies between mixin applications. (Section 6.5 of
Yes, and the physical layout is now modeled as objects. (See Hierarchy of AbstractLayout).
We have T.y and C.x T has a method #getY, for which its bytecode returns the first slot (i.e., y). If C uses T, the #getY needs to be adapted to return the second slot right?
Yes. Marcus -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.
5598
Age (days ago)
5598
Last active (days ago)
0 comments
1 participants
participants (1)
-
Marcus Denker