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 parses $var++ ++ when it probably shouldn't #742

Closed
p6rt opened this issue Mar 4, 2009 · 6 comments
Closed

Rakudo parses $var++ ++ when it probably shouldn't #742

p6rt opened this issue Mar 4, 2009 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Mar 4, 2009

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

Searchable as RT63644$

@p6rt
Copy link
Author

p6rt commented Mar 4, 2009

From @masak

<Matt-W> pmichaud++ ++ ++
<masak> rakudo​: my $a = 0; $a++ ++; say $a
<p6eval> rakudo b60cca​: OUTPUT«1␤»
<masak> huh.
<Matt-W> masak​: I didn't expect it'd actually parse
<masak> std​: my $a; $a++ ++;
<p6eval> std 25683​: OUTPUT«############# PARSE FAILED #############␤ [...]
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Jul 24, 2009

From @kyleha

This is an automatically generated mail to inform you that tests are now available in b/t/spec/S03-operators/autoincrement.t

@p6rt
Copy link
Author

p6rt commented Jul 24, 2009

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

@p6rt
Copy link
Author

p6rt commented Feb 16, 2010

From @moritz

On Thu Jul 23 22​:30​:20 2009, KyleHa wrote​:

This is an automatically generated mail to inform you that tests are
now available in b/t/spec/S03-operators/autoincrement.t

This test passes since the merge of the 'ng' branch; closing ticket.

@p6rt
Copy link
Author

p6rt commented Feb 16, 2010

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

@p6rt p6rt closed this as completed Feb 16, 2010
@p6rt
Copy link
Author

p6rt commented Feb 16, 2010

From @kyleha

This is an automatically generated mail to inform you that tests are now available in t/spec/S03-operators/autoincrement.t

commit d801d90aaa095ca33f24d92bdb467c698b456d7f
Author​: moritz <moritz@​c213334d-75ef-0310-aa23-eaa082d1ae64>
Date​: Tue Feb 16 09​:34​:03 2010 +0000

  test for RT #​63644 now passes
 
  git-svn-id​: http://svn.pugscode.org/pugs@&#8203;29743 c213334d-75ef-0310-aa23-eaa082d1ae64

Inline Patch
diff --git a/t/spec/S03-operators/autoincrement.t b/t/spec/S03-operators/autoincrement.t
index 6805ef4..66f36d1 100644
--- a/t/spec/S03-operators/autoincrement.t
+++ b/t/spec/S03-operators/autoincrement.t
@@ -191,7 +191,6 @@ is(%z{0},           $base, '%z{0}');
 }
 
 # RT #63644
-#?rakudo todo 'RT #63644'
 eval_dies_ok 'my $a; $a++ ++;', 'parse error for "$a++ ++"';
 
 # vim: ft=perl6

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

No branches or pull requests

1 participant