Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
error out on unknown module for "no ..."
  • Loading branch information
timo committed Jan 14, 2014
1 parent d347325 commit 9c241ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Perl6/Grammar.nqp
Expand Up @@ -1290,6 +1290,8 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
$*P5_WARNINGS := 0;
$*GENERAL_WARNINGS := 0;
}
} else {
$/.CURSOR.panic("'no " ~ $<module_name>.Str ~ "' not implemented");
}
}
<.ws>
Expand Down

0 comments on commit 9c241ed

Please sign in to comment.