Henrik 

I integrated your value, value: cleans and I get such kind of error now.
stackp = 2 and not zero.
I'm puzzled. because I thought that the other code was not executed since it 
was covered by a primitive
that would do the right job.


pushArgs: args "<Array>" from: sendr "<ContextPart>" 
        "Helps simulate action of the value primitive for closures.
         This is used by ContextPart>>runSimulated:contextAtEachStep:"

        stackp ~= 0 ifTrue:
                [self error: 'stack pointer should be zero!'].
        closureOrNil ifNil:
                [self error: 'context needs a closure!'].
        args do: [:arg| self push: arg].
        1 to: closureOrNil numCopiedValues do:
                [:i|
                self push: (closureOrNil copiedValueAt: i)].
        sender := sendr
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to