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
Comments
From @carbin<carlin> rakudo: say Module.new -- |
From @bbkrperl6 -e 'say Module.new' |
The RT System itself - Status changed from 'new' to 'open' |
From @bbkr[17:07] <bbkr> ok, so But since i didn't receive the answer where tests should go, I'm not |
From @bbkrt/spec/S02-names_and_variables/names.t, revision 30519. |
@bbkr - Status changed from 'open' to 'resolved' |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in t/spec/S02-names_and_variables/names.t commit ee1313162577c0658dcbb984967dfbb350a35167 added test for RT #69752 Inline Patchdiff --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 |
Migrated from rt.perl.org#69752 (status was 'resolved')
Searchable as RT69752$
The text was updated successfully, but these errors were encountered: