Skip Menu |
 
Report information
Id: 58922
Status: rejected
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: masak <cmasak [at] gmail.com>
Cc:
AdminCc:

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



Subject: .perl for self-referent structures
Date: Tue, 16 Sep 2008 17:17:27 +0200
To: rakudobug [...] perl.org
From: "Carl Mäsak" <cmasak [...] gmail.com>
Download (untitled) / with headers
text/plain 631b
Calling .perl on a self-referent structure makes Rakudo r31152 hang. $ ./perl6 -e 'my @a = (1); @a[0] := @a; @a.perl' <masak> pmichaud: what about @a[0] := @a ? <pmichaud> masak: I don't know about that one. :-) [...] <masak> :) [...] <pmichaud> part of me thinks that ends up with a self-referential structure <masak> I hope so <masak> that seems to be what's happening in at least one case in Rakudo right now <masak> question is, should .perl be able to handle that, and if so, how? <moritz_> masak: it should <moritz_> perhaps it should emit something like 'do { my @x = (...); @x[0] := @x; @x }' * masak submits rakudobug
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 193b
I'm going to mark this ticket as stalled until we have a good idea of how self-referent structures should be handled in the output, either through the spec itself or the spectests. Thanks! Pm
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 176b
Since this ticket is about a clarification to the specification, it's been migrated to the spec's issue queue: https://github.com/perl6/roast/issues/7 -- Will "Coke" Coleda
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 285b
On Fri Oct 21 05:51:00 2011, coke wrote: Show quoted text
> Since this ticket is about a clarification to the specification, it's
been Show quoted text
> migrated to the spec's issue queue: > > https://github.com/perl6/roast/issues/7
Whoops, I meant: https://github.com/perl6/specs/issues/6 -- Will "Coke" Coleda


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