I have the following in Gemstone:
FristClass which is a indexableSublass of Object.
SecondClass which is a subclass of FirstClass.
When I save this to Monticello and then load it into Pharo, the load fails
on the 'recompile' because the SecondClass is not of type #variable.
The load works when I modify the method MCClassDefinition>>createClass to
use the superclass' type when the superclass type is #variable.
--- current way ----
...
type: type;
...
--- hacked way ----
....
type: ((superClass typeOfClass isSymbol not and: [superClass typeOfClass
isVariable]) ifTrue: [superClass typeOfClass] ifFalse: [type]);
....
With this I was sucessfully able to important the code into Pharo.
I am able to go from Pharo to GemStone with no problems.
Is there a general solution to this problem? It obviously will not occur
very often.
Regards,
Reg
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project