Skip Menu |
Report information
Id: 123488
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: moritz <moritz.lenz+perl [at] gmail.com>
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Date: Tue, 23 Dec 2014 16:11:30 +0100
To: rakudobug [...] perl.org
From: Moritz Lenz <moritz.lenz [...] gmail.com>
Subject: using WHO on the instance of a parametric role causes segfault/internal error
Download (untitled) / with headers
text/plain 232b
<moritz> r: role Foo[$x] { }; Foo[42].WHO.^name <camelia> rakudo-parrot d45c53: OUTPUT«Can only use get_how on a SixModelObject␤ in block <unit> at /tmp/tmpfile:1␤␤» <camelia> ..rakudo-moar d45c53: OUTPUT«(signal SEGV)»
Download (untitled) / with headers
text/plain 401b
On Tue Dec 23 07:11:55 2014, moritz.lenz@gmail.com wrote: Show quoted text
> <moritz> r: role Foo[$x] { }; Foo[42].WHO.^name > <camelia> rakudo-parrot d45c53: OUTPUT«Can only use get_how on a > SixModelObject␤ in block <unit> at /tmp/tmpfile:1␤␤» > <camelia> ..rakudo-moar d45c53: OUTPUT«(signal SEGV)»
The SEGV is now gone in MoarVM HEAD, but the lack of a sensible .WHO to return still needs resolving.
Download (untitled) / with headers
text/plain 160b
The behaviour has changed, and I am wondering what the desired behaviour is: m: role Foo[$x] { }; say Foo[42].WHO.^name rakudo-moar 730db2: OUTPUT«VMNull␤»


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org