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

Rakudo wrongly allows $x..$y..$z #2409

Closed
p6rt opened this issue Apr 16, 2011 · 7 comments
Closed

Rakudo wrongly allows $x..$y..$z #2409

p6rt opened this issue Apr 16, 2011 · 7 comments

Comments

@p6rt
Copy link

p6rt commented Apr 16, 2011

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

Searchable as RT88708$

@p6rt
Copy link
Author

p6rt commented Apr 16, 2011

From @masak

<masak> std​: 1..2..3
<p6eval> std 4608239​: OUTPUT«�[31m===�[0mSORRY!�[31m===�[0m␤".." and
".." are non-associative and require parens [...] FAILED 00​:01 120m␤»
<masak> oh, good.
<masak> rakudo​: say (1..2..3).perl
<p6eval> rakudo 5ac05e​: OUTPUT«2..3␤»
* masak submits rakudobug
<masak> rakudo​: say (7..8..9).perl
<p6eval> rakudo 5ac05e​: OUTPUT«2..9␤»

@p6rt
Copy link
Author

p6rt commented May 28, 2012

From @coke

On Sat Apr 16 08​:33​:34 2011, masak wrote​:

<masak> std​: 1..2..3
<p6eval> std 4608239​: OUTPUT«�[31m===�[0mSORRY!�[31m===�[0m␤".." and
".." are non-associative and require parens [...] FAILED 00​:01 120m␤»
<masak> oh, good.
<masak> rakudo​: say (1..2..3).perl
<p6eval> rakudo 5ac05e​: OUTPUT«2..3␤»
* masak submits rakudobug
<masak> rakudo​: say (7..8..9).perl
<p6eval> rakudo 5ac05e​: OUTPUT«2..9␤»

Changed​:

say (1..2..3).perl
1..2..3
say (7..8..9).perl
7..8..9

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented May 28, 2012

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

@p6rt
Copy link
Author

p6rt commented Mar 8, 2013

From @jnthn

On Sat Apr 16 08​:33​:34 2011, masak wrote​:

<masak> std​: 1..2..3
<p6eval> std 4608239​: OUTPUT«�[31m===�[0mSORRY!�[31m===�[0m␤".." and
".." are non-associative and require parens [...] FAILED 00​:01
120m␤»
<masak> oh, good.
<masak> rakudo​: say (1..2..3).perl
<p6eval> rakudo 5ac05e​: OUTPUT«2..3␤»
* masak submits rakudobug
<masak> rakudo​: say (7..8..9).perl
<p6eval> rakudo 5ac05e​: OUTPUT«2..9␤»

Works now​:

1..2..3
===SORRY!===
Operators '..' and '..' are non-associtiave and require parenthesis
at <unknown file>​:1
------> 1..2.<HERE>.3

Tagging testneeded.

/jnthn

@p6rt
Copy link
Author

p6rt commented Jul 25, 2013

From @timo

  < corecatcher> hm, https://rt-archive.perl.org/perl6/Public/Bug/Display.html?
id=88708 that bug has a test in roast/S03-operators/range.t​:294
  < corecatcher> so it might be closed?

But also

  < PerlJam> corecatcher​: the test also references RT #​77572, so I
guess RT#​88708 is a dup?

@p6rt
Copy link
Author

p6rt commented Jul 25, 2013

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

@p6rt p6rt closed this as completed Jul 25, 2013
@p6rt
Copy link
Author

p6rt commented Jul 25, 2013

From @timo

  < corecatcher> hm, https://rt-archive.perl.org/perl6/Public/Bug/Display.html?
id=88708 that bug has a test in roast/S03-operators/range.t​:294
  < corecatcher> so it might be closed?

But also

  < PerlJam> corecatcher​: the test also references RT #​77572, so I
guess RT#​88708 is a dup?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant