[Pharo-project] traits file-in problem
Nov. 19, 2012
11:27 a.m.
Hi, if I file-out the category Tests-Traits-MOP to own *.st file and then try to load it into the Pharo Kernel, this test will fail because of this expression: self assert: (MOPTestClassA>>#c2) origin = Trait2. in this case it shows that the origin of MOPTestClassA>>#c2 is Trait3. The solution of this issue was to recompile the loaded classes. But it shows that the we miss some mechanism for preservation of system consistency when changing classes with traits. Cheers, -- Pavel
5002
Age (days ago)
5002
Last active (days ago)
0 comments
1 participants
participants (1)
-
Pavel Krivanek