petdance/scratch — Issue #1284: incorrect null-return from method calls
Author: petdance
Created: 2011-11-01 05:39:48+00:00
State: open
Labels: bug, core, Pri-normal, Sev-medium

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.

Originally http://trac.parrot.org/parrot/ticket/1929