CompiledMethod >> valueWithReceiver:withArguments does not return method return value
By Sam Phillips - Posted on October 22nd, 2007
Tagged: smalltalk--devo--2.2--patch-492
| 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.
