Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Un-todos for if return - went from Empty to () post-glr. Fixes RT #12…
…4577.
  • Loading branch information
jdv committed Aug 23, 2015
1 parent ee49119 commit 000d49b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions S04-statements/if.t
Expand Up @@ -205,9 +205,7 @@ is (if 0 { 42 } elsif 1 { 43 } else { 44 }), (43), "if+elsif+else elsif evaluate
is (if 1 { 42 } elsif 0 { 43 } else { 44 }), (42), "if+elsif+else if evaluates to executed block";
is (if 0 { 42 } elsif 1 { 43 }), (43), "if+elsif elsif evaluates to executed block";
is (if 1 { 42 } elsif 0 { 43 }), (42), "if+elsif if evaluates to executed block";
#?rakudo todo 'rakudo still uses Nil here RT #124577'
is (if 0 { 42 } elsif 0 { 43 }), (), "if+elsif evaluates to () when no block chosen";
#?rakudo todo 'rakudo still uses Nil here RT #124578'
is (if 0 { 42 }), (), "if evaluates to () when no block chosen";

# L<S04/Statement parsing/keywords require whitespace>
Expand Down

0 comments on commit 000d49b

Please sign in to comment.