Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Real.new hangs on .gist #4574

Open
p6rt opened this issue Sep 20, 2015 · 5 comments
Open

Real.new hangs on .gist #4574

p6rt opened this issue Sep 20, 2015 · 5 comments
Labels
Bug

Comments

@p6rt
Copy link

@p6rt p6rt commented Sep 20, 2015

Migrated from rt.perl.org#126130 (status was 'open')

Searchable as RT126130$

@p6rt

This comment has been minimized.

Copy link
Author

@p6rt p6rt commented Sep 20, 2015

From zefram@fysh.org

$ ./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

@p6rt

This comment has been minimized.

Copy link
Author

@p6rt p6rt commented Feb 10, 2016

From @lizmat

“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.

@p6rt

This comment has been minimized.

Copy link
Author

@p6rt p6rt commented Feb 10, 2016

From @coke

On Wed Feb 10 01​:58​:34 2016, elizabeth wrote​:

“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

@p6rt

This comment has been minimized.

Copy link
Author

@p6rt p6rt commented Feb 10, 2016

The RT System itself - Status changed from 'new' to 'open'

@p6rt

This comment has been minimized.

Copy link
Author

@p6rt p6rt commented Aug 23, 2016

@coke - Status changed from 'new' to 'open'

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.