Ha, the Workspace stores variables in a Dictionary, which contains Associations instead of the new global variable objects!
Maybe we need to introduce a new kind of collection containing the new Global variables or something like that? (okok, a global variable is not exactly what you have in a workspace, so I don't like the name) On Mon, Aug 4, 2014 at 9:33 PM, stepharo <steph...@free.fr> wrote: > you should add temp declaration. > > Apparently this is needed now. At least I got the same error and just > adding temps fixed it. > > Stef > > > On 4/8/14 21:13, kilon alios wrote: > > when I do this > > thiproc := OSProcess thisOSProcess . > > I get this > > Association(Object)>>doesNotUnderstand: #emitStore: > OCLiteralVariable>>emitStore: > OCASTTranslatorForValue(OCASTTranslator)>>visitAssignmentNode: > RBAssignmentNode>>acceptVisitor: > OCASTTranslatorForValue(RBProgramNodeVisitor)>>visitNode: > OCASTTranslatorForValue(OCASTTranslator)>>visitNode: > OCASTTranslatorForEffect(OCASTTranslator)>>visitReturnNode: > RBReturnNode>>acceptVisitor: > OCASTTranslatorForEffect(RBProgramNodeVisitor)>>visitNode: > OCASTTranslatorForEffect(OCASTTranslator)>>visitNode: > [ :each | self visitNode: each ] in > OCASTTranslatorForEffect>>visitSequenceNode: in Block: [ :each | self > visitNode: each ] > Array(SequenceableCollection)>>do: > OCASTTranslatorForEffect>>visitSequenceNode: > RBSequenceNode>>acceptVisitor: > OCASTTranslatorForEffect(RBProgramNodeVisitor)>>visitNode: > OCASTTranslatorForEffect(OCASTTranslator)>>visitNode: > OCASTTranslator>>visitMethodNode: > RBMethodNode>>acceptVisitor: > OCASTTranslator(RBProgramNodeVisitor)>>visitNode: > OCASTTranslator>>visitNode: > RBMethodNode>>generateIR > RBMethodNode>>generate: > [ > [ > ast := self parse. > self doSemanticAnalysis ] > on: OCSourceCodeChanged > do: [ :notification | > self source: notification newSourceCode. > notification retry ]. > cm := ast generate: self compilationContext compiledMethodTrailer ] in > OpalCompiler>>compile in Block: [ ... > BlockClosure>>on:do: > OpalCompiler>>compile > [ self compile ] in OpalCompiler>>translate in Block: [ self compile ] > BlockClosure>>on:do: > OpalCompiler>>translate > OpalCompiler>>evaluate > SmalltalkEditor>>evaluateSelectionAndDo: > > Do I do something wrong ? > > I can inspect the object just fine. > > >