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

Owner: Nobody
Requestors: elizabeth <liz [at] dijkmat.nl>
zefram [at] fysh.org
Cc:
AdminCc:

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



Subject: [LTA] Real.new hangs on .gist
Date: Sun, 20 Sep 2015 23:17:54 +0100
From: Zefram <zefram [...] fysh.org>
To: rakudobug [...] perl.org
Download (untitled) / with headers
text/plain 288b
$ ./perl6 -e 'say Real.new' [hangs] ^C Like Numeric.new + 0 [perl #126112], there's a hang on a basically unimplemented method in a fairly abstract class. This is less than awesome. It would be nice to have the lack of implementation detected, resulting in a signalled error. -zefram
Date: Wed, 10 Feb 2016 10:58:19 +0100
To: rakudobug [...] perl.org
Subject: Real.new.Num infiniloops
From: Elizabeth Mattijsen <liz [...] dijkmat.nl>
Download (untitled) / with headers
text/plain 578b
“Real.new.Num" infiniloops because: .Num calls .Bridge.Num .Bridge calls .Num This is the ground cause of “say Real.new” infinilooping, because: .gist calls .Str .Str calls .Bridge (to call .Str again, but never gets there because:) .Bridge calls .Num .Num calls .Bridge Since I never understood the use of .Bridge in these parts of the setting, I’m hoping that someone else with some more background in this part of the code that is mostly from 2011/2012, and this predates my involvement. Yary++ for reporting, BenGoldberg++ for following up.
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 694b
On Wed Feb 10 01:58:34 2016, elizabeth wrote: Show quoted text
> “Real.new.Num" infiniloops because: > > .Num calls .Bridge.Num > .Bridge calls .Num > > This is the ground cause of “say Real.new” infinilooping, because: > > .gist calls .Str > .Str calls .Bridge (to call .Str again, but never gets there because:) > .Bridge calls .Num > .Num calls .Bridge > > Since I never understood the use of .Bridge in these parts of the > setting, I’m hoping that someone else with some more background in > this part of the code that is mostly from 2011/2012, and this predates > my involvement. > > > Yary++ for reporting, BenGoldberg++ for following up.
Basically a dupe of #126130 -- 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