Open PalumboN opened 6 months ago
Now it is compiled always as 0 args. But the interpreter works with 1 arg also (see Context >> objectSize: anObject).
Context >> objectSize: anObject
The primitive should have <numberOfArguments: #(0 1)> to support both cases, or at least <numberOfArguments: #(0)> to check the method argument count.
<numberOfArguments: #(0 1)>
<numberOfArguments: #(0)>
But now we cannot do that because tests are failing (probably due a bug during the optimisation passes).
Now it is compiled always as 0 args. But the interpreter works with 1 arg also (see
Context >> objectSize: anObject
).The primitive should have
<numberOfArguments: #(0 1)>
to support both cases, or at least<numberOfArguments: #(0)>
to check the method argument count.But now we cannot do that because tests are failing (probably due a bug during the optimisation passes).