[Pharo-project] Morph's #flags instVar
Hi list, In order to get Scat to be able to import Scratch projects, we'd need to add the 'flags' instVar to Morph, but whenever we try an error is triggered. Is there a reason for this behaviour? How can we get to add this variable? Thanks! -- Bernat Romagosa
Hi list, Just for the record, after months of struggling and using alternative ugly, temporary solutions, we came up with a way to add this instance variable to Morph programmatically without getting any error: [ ClassBuilder beSilent: true. Morph addInstVarNamed: 'flags'. ClassBuilder beSilent: false ] fork. SystemWindow allInstancesDo: [:each | each delete] Cheers, 2011/6/15 Bernat Romagosa <tibabenfortlapalanca@gmail.com>
Hi list,
In order to get Scat to be able to import Scratch projects, we'd need to add the 'flags' instVar to Morph, but whenever we try an error is triggered. Is there a reason for this behaviour? How can we get to add this variable?
Thanks!
-- Bernat Romagosa
-- Bernat Romagosa.
After evaluating this code in a workspace in 1.4, when I try to bring up a Browser, I get an error "lookup class is not in my inheritance chain" and a frozen image that does not respond to user interrupt -- View this message in context: http://forum.world.st/Morph-s-flags-instVar-tp3599438p4128488.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
Oh, I didn't mention it but this has only been tested in a 1.3 image. I'll check out this 1.4 issue. Thanks! 2011/12/1 Sean P. DeNigris <sean@clipperadams.com>
After evaluating this code in a workspace in 1.4, when I try to bring up a Browser, I get an error "lookup class is not in my inheritance chain" and a frozen image that does not respond to user interrupt
-- View this message in context: http://forum.world.st/Morph-s-flags-instVar-tp3599438p4128488.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
-- Bernat Romagosa.
participants (2)
-
Bernat Romagosa -
Sean P. DeNigris