#1929: incorrect null-return from method calls
----------------------+-----------------------------------------------------
Reporter: plobsing | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: core | Version: 2.11.0
Severity: medium | Keywords: pcc
Lang: | Patch:
Platform: |
----------------------+-----------------------------------------------------
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.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1929>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets