petdance/scratch — Issue #370: incorrect null-return from method calls
Author: petdance
Created: 2011-11-01 04:25:48+00:00
State: open

Calling a method expecting one return value when the method returns none does not work as expected. The register should be filled with PMCNULL, or an exception should be thrown.

In stead, the register is filled with the invocant. While this allows for a nifty chaining accidental feature, this is not what is expected in these situations.