CompiledMethod >> valueWithReceiver:withArguments does not return method return value

Project:GNU Smalltalk
Component:Base classes
Category:bug
Priority:normal
Assigned:Unassigned
Status:fixed
Attachment:CompildMeth-valueWithReceiver.patch (348 bytes)
Description

CompiledMethod >> valueWithReceiver:withArguments does not return method return value. Example:


GNU Smalltalk ready

st> m := SmallInteger >> #+
SmallInteger>>+
st> m valueWithReceiver: 3 withArguments: { 4 }
SmallInteger>>+
st>

Result should be 7.

Attached patch to fix this.

Updates

#1 submitted by Paolo Bonzini on Tue, 10/23/2007 - 05:13
Status:active» fixed

applied, thanks!

User login