From 5e0377366cb438d8d7df6155a999f0bc6c2e518a Mon Sep 17 00:00:00 2001 From: Elizabeth Mattijsen Date: Sat, 17 Jun 2017 01:12:13 +0200 Subject: [PATCH] Add some suggestions for "skip" and "continue" --- src/Perl6/World.nqp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Perl6/World.nqp b/src/Perl6/World.nqp index a030627c7f9..d82992adfd1 100644 --- a/src/Perl6/World.nqp +++ b/src/Perl6/World.nqp @@ -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; }