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

'Module.new' causes 'maximum recursion depth exceeded' #1360

Closed
p6rt opened this issue Oct 13, 2009 · 7 comments
Closed

'Module.new' causes 'maximum recursion depth exceeded' #1360

p6rt opened this issue Oct 13, 2009 · 7 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Oct 13, 2009

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

Searchable as RT69752$

@p6rt
Copy link
Author

p6rt commented Oct 13, 2009

From @carbin

<carlin> rakudo​: say Module.new
<p6eval> rakudo d749d9​: OUTPUT«maximum recursion depth exceeded␤in Main
(file src/gen_setting.pm, line 206)␤»

--
Carlin

@p6rt
Copy link
Author

p6rt commented Apr 30, 2010

From @bbkr

perl6 -e 'say Module.new'
Could not find sub &Module

@p6rt
Copy link
Author

p6rt commented Apr 30, 2010

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

@p6rt
Copy link
Author

p6rt commented Apr 30, 2010

From @bbkr

[17​:07] <bbkr> ok, so
http://rt.perl.org/rt3/Ticket/Display.html?id=69752 is solved now?
[17​:09] <colomon> bbkr​: appears so.

But since i didn't receive the answer where tests should go, I'm not
closing yet.

@p6rt
Copy link
Author

p6rt commented Apr 30, 2010

From @bbkr

t/spec/S02-names_and_variables/names.t, revision 30519.

@p6rt
Copy link
Author

p6rt commented Apr 30, 2010

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

@p6rt p6rt closed this as completed Apr 30, 2010
@p6rt
Copy link
Author

p6rt commented Apr 30, 2010

From @kyleha

This is an automatically generated mail to inform you that tests are now available in t/spec/S02-names_and_variables/names.t

commit ee1313162577c0658dcbb984967dfbb350a35167
Author​: bbkr <bbkr@​c213334d-75ef-0310-aa23-eaa082d1ae64>
Date​: Fri Apr 30 16​:25​:39 2010 +0000

  added test for RT #​69752
 
  git-svn-id​: http://svn.pugscode.org/pugs@&#8203;30519 c213334d-75ef-0310-aa23-eaa082d1ae64

Inline Patch
diff --git a/t/spec/S02-names_and_variables/names.t b/t/spec/S02-names_and_variables/names.t
index b1cce48..07a1f1d 100644
--- a/t/spec/S02-names_and_variables/names.t
+++ b/t/spec/S02-names_and_variables/names.t
@@ -2,7 +2,7 @@ use v6;
 
 use Test;
 
-plan 21;
+plan 22;
 
 # I'm using semi-random nouns for variable names since I'm tired of foo/bar/baz and alpha/beta/...
 
@@ -73,4 +73,11 @@ plan 21;
     is self(), 4, 'can define and call a sub self()';
 }
 
+# RT #69752
+{
+    eval 'Module.new';
+    ok "$!" ~~ / 'Module' /,
+        'error message mentions name not recognized, no maximum recursion depth exceeded';
+}
+
 # vim: ft=perl6

@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
Labels
Projects
None yet
Development

No branches or pull requests

1 participant