Skip to content

Commit

Permalink
Add some suggestions for "skip" and "continue"
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Jun 16, 2017
1 parent a38cb68 commit 5e03773
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Perl6/World.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -4058,6 +4058,14 @@ class Perl6::World is HLL::World {
elsif $name eq '&break' {
@suggestions.push: 'last';
}
elsif $name eq '&skip' {
@suggestions.push: 'next';
}
elsif $name eq '&continue' {
@suggestions.push: 'NEXT';
@suggestions.push: 'proceed';
@suggestions.push: 'succeed';
}
return @suggestions;
}

Expand Down

0 comments on commit 5e03773

Please sign in to comment.