codefrau / SqueakJS

A Squeak Smalltalk VM in Javascript
https://squeak.js.org
MIT License
371 stars 76 forks source link

fix perform primitives for several edge cases #159

Closed LinqLover closed 7 months ago

LinqLover commented 7 months ago

This fixes primitive 83 (primitivePerform), primitive 84 (primitivePerformWithArgs), and primitive 100 (primitivePerformWithArgsInSuperclass) for the following cases:

There were two underlying issues:

These changes, together with #158, fix the corresponding primitive tests in ContextTest as of KernelTests-ct.455 (Squeak 6.1Alpha).