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

infinite loop when generating ranges of characters (regression) #2991

Closed
p6rt opened this issue Dec 7, 2012 · 4 comments
Closed

infinite loop when generating ranges of characters (regression) #2991

p6rt opened this issue Dec 7, 2012 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Dec 7, 2012

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

Searchable as RT116014$

@p6rt
Copy link
Author

p6rt commented Dec 7, 2012

From cedric.vincent@gmail.com

http://irclog.perlgeek.de/perl6/2012-12-07#i_6221234

<cedrvint> rn​: ('A' ... 'a').say
<p6eval> niecza v24-5-g599cbcb​: OUTPUT«A B C D E F G H I J K L M N O P
Q R S T U V W X Y Z [ \ ] ^ _ ` a␤»
  ..rakudo 53daef​: OUTPUT«(timeout)»
<cedrvint> it seems rakudo loops forever in this case.
  according to http://rosettacode.org/wiki/Ca[…]rogrammers#Perl_6 it
is a regression
  r​: ["\0"...""].say
<p6eval> rakudo 53daef​: OUTPUT«(timeout)»
<moritz> r​: ["\0"..."
"][^10].say
<p6eval> rakudo 53daef​: OUTPUT«(timeout)»

@p6rt
Copy link
Author

p6rt commented Nov 14, 2013

From @coke

On Fri Dec 07 08​:58​:59 2012, cvincent wrote​:

http://irclog.perlgeek.de/perl6/2012-12-07#i_6221234

<cedrvint> rn​: ('A' ... 'a').say
<p6eval> niecza v24-5-g599cbcb​: OUTPUT«A B C D E F G H I J K L M N O P
Q R S T U V W X Y Z [ \ ] ^ _ ` a␤»
..rakudo 53daef​: OUTPUT«(timeout)»
<cedrvint> it seems rakudo loops forever in this case.
according to http://rosettacode.org/wiki/Ca[…]rogrammers#Perl_6 it
is a regression
r​: ["\0"...""].say
<p6eval> rakudo 53daef​: OUTPUT«(timeout)»
<moritz> r​: ["\0"..."
"][^10].say
<p6eval> rakudo 53daef​: OUTPUT«(timeout)»

All of these work now. Tests added to S02-types/range.t

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Nov 14, 2013

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

@p6rt
Copy link
Author

p6rt commented Nov 14, 2013

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

@p6rt p6rt closed this as completed Nov 14, 2013
@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