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
Meta-error when trying to find 'panic' in a faulty regex in Rakudo #1716
Comments
From @masak<moritz_> rakudo: / a+ +/ |
From @jnthnOn Sat May 01 13:40:04 2010, masak wrote:
Fixed it; now we get the expected error:
Given to moritz++ for spectests. Thanks, Jonathan |
The RT System itself - Status changed from 'new' to 'open' |
@moritz - Status changed from 'open' to 'resolved' |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in t/spec/S05-metasyntax/unknown.t commit cb65adf5177e781c203e37e0ba4a9df6b372ccc8 [t/spec] tests for RT #74832 Inline Patchdiff --git a/t/spec/S05-metasyntax/unknown.t b/t/spec/S05-metasyntax/unknown.t
index 0ec2ffb..8b18392 100644
--- a/t/spec/S05-metasyntax/unknown.t
+++ b/t/spec/S05-metasyntax/unknown.t
@@ -1,7 +1,7 @@
use v6;
use Test;
-plan 8;
+plan 10;
# L<S05/Simplified lexical parsing of patterns/not all non-identifier glyphs are currently meaningful as metasyntax>
@@ -24,4 +24,10 @@ lives_ok({"aa!" ~~ /'a'/}, 'quoted "a" is valid');
ok '!' !~~ /<foo>/, '\\{ in a rule (-)';
}
+# RT #74832
+{
+ nok eval('/ a+ + /'), 'Cannot parse regex a+ +';
+ ok "$!" ~~ /quantif/, 'error message mentions quantif{y,ier}';
+}
+
# vim: ft=perl6 |
Migrated from rt.perl.org#74832 (status was 'resolved')
Searchable as RT74832$
The text was updated successfully, but these errors were encountered: