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
Some non-alphanumeric ranges don't work #1803
Comments
From david.green@telus.netCertain ranges with endpoints that aren't 0-9, A-Z don't work: say <@>..<Z> The code goes into an infinite loop or maybe just a very long one... |
From js.brighton.uk@gmail.comHi I discovered this a few days ago when messing around. My program tried to a I went onto #perl6 and after a short chat, agreed to send a bug report. I This was with the latest Rakudo pulled down from git. I've just updated and I've added some extra information below. From the chat on Perl 5, I think Regards == Here are some tests. js@arctic:~/dev/rakudo$ ./perl6 -e 'say "A" .. "Z"' js@arctic:~/dev/rakudo$ ./perl6 -e 'say "A" .. ""' js@arctic:~/dev/rakudo$ ./perl6 -e 'say "A" .. "\t"' js@arctic:~/dev/rakudo$ ./perl6 -e 'say "something\t" .. "something "' ===These ones hang around for a long time (I didn't wait for them to run out js@arctic:~/dev/rakudo$ ./perl6 -e 'say " " .. " "' ===The top of git log: commit f50c35907a7d185cb4678c32914e9e0b6f631c05 When we write my ($x is rw) := 42, make sure that we don't try and |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in t/spec/S03-operators/range-basic.t commit ac7fc85b7ce813eb00872b9bafeeec025783b8e2 [t/spec] unfudge tests for RT #75526 Inline Patchdiff --git a/t/spec/S03-operators/range-basic.t b/t/spec/S03-operators/range-basic.t
index 0b92ef1..ef0bb39 100644
--- a/t/spec/S03-operators/range-basic.t
+++ b/t/spec/S03-operators/range-basic.t
@@ -162,7 +162,6 @@ nok 'h' ~~ 'b'..'g', "not 'h' ~~ 'b'..'g'";
nok 0 ~~ 'a'..'g', "not 0 ~~ 'a'..'g'";
# RT#75526: [BUG] Some non-alphanumeric ranges don't work
-#?rakudo skip 'these tests hang forever'
{
ok ' ' ~~ ' '..' ', "' ' ~~ ' '..' '";
ok ' ' ~~ ' '..'A', "' ' ~~ ' '..'A'"; |
The RT System itself - Status changed from 'new' to 'open' |
From @moritzThanks for your reports, it's fixed now, and tested in |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#75526 (status was 'resolved')
Searchable as RT75526$
The text was updated successfully, but these errors were encountered: