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

"maximum recursion depth exceeded" from: my @a //= (3); @a.perl.say; #2062

Closed
p6rt opened this issue Aug 11, 2010 · 6 comments
Closed

"maximum recursion depth exceeded" from: my @a //= (3); @a.perl.say; #2062

p6rt opened this issue Aug 11, 2010 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Aug 11, 2010

Migrated from rt.perl.org#77174 (status was 'resolved')

Searchable as RT77174$

@p6rt
Copy link
Author

p6rt commented Aug 11, 2010

From @ronaldxs

  The variant my @​a ||= (3); @​a.perl.say; outputs something reasonable.

Ron

@p6rt
Copy link
Author

p6rt commented Aug 18, 2010

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

@p6rt
Copy link
Author

p6rt commented Oct 9, 2011

From @coke

On Wed Aug 11 13​:25​:39 2010, ronaldxs wrote​:

The variant my @​a ||= (3); @​a.perl.say; outputs something reasonable.

Ron

Still happening​:

12​:11 < [Coke]> rakudo​: my @​a //= (3); @​a.perl.say;
12​:11 <+p6eval> rakudo f6eb61​: OUTPUT«maximum recursion depth exceeded␤Method
  'dispatch​:<.?>' not found for invocant of class
  'Integer'␤current instr.​: 'is-hidden' pc 817656
  (src/gen/CORE.setting.pir​:224638) (src/gen/CORE.setting​:5921)␤»
12​:12 < [Coke]> rakudo​: my @​a ||= (3); @​a.perl.say;
12​:12 <+p6eval> rakudo f6eb61​: OUTPUT«Array.new(3)␤»

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Jun 30, 2012

From @coke

On Sun Oct 09 09​:13​:19 2011, coke wrote​:

On Wed Aug 11 13​:25​:39 2010, ronaldxs wrote​:

The variant my @​a ||= (3); @​a.perl.say; outputs something
reasonable.

Ron

Still happening​:

12​:11 < [Coke]> rakudo​: my @​a //= (3); @​a.perl.say;
12​:11 <+p6eval> rakudo f6eb61​: OUTPUT«maximum recursion depth
exceeded␤Method
'dispatch​:<.?>' not found for invocant of class
'Integer'␤current instr.​: 'is-hidden' pc 817656
(src/gen/CORE.setting.pir​:224638)
(src/gen/CORE.setting​:5921)␤»
12​:12 < [Coke]> rakudo​: my @​a ||= (3); @​a.perl.say;
12​:12 <+p6eval> rakudo f6eb61​: OUTPUT«Array.new(3)␤»

This seems to be fixed now​:

21​:42 < [Coke]> rn​: my @​a //= (3); @​a.perl.say;
21​:42 <+p6eval> niecza v19-7-g5e25209​: OUTPUT«[].list␤»
21​:42 <+p6eval> ..rakudo 9394f7​: OUTPUT«Array.new()␤»
21​:42 < [Coke]> rn​: my @​a ||= (3); @​a.perl.say;
21​:42 <+p6eval> niecza v19-7-g5e25209​: OUTPUT«[3].list␤»
21​:42 <+p6eval> ..rakudo 9394f7​: OUTPUT«Array.new(3)␤»

Closable with tests.
--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Feb 28, 2013

From @timo

added tests to roast in 4609872

@p6rt
Copy link
Author

p6rt commented Feb 28, 2013

@timo - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant