| Index: frog/leg/compiler.dart
|
| diff --git a/frog/leg/compiler.dart b/frog/leg/compiler.dart
|
| index 9a00dad0a4059d694500b20501c1404cd38d2826..4a044f7b3b242c610a0c4d5070923f34849aff63 100644
|
| --- a/frog/leg/compiler.dart
|
| +++ b/frog/leg/compiler.dart
|
| @@ -76,6 +76,11 @@ class Compiler implements Canceler, Logger {
|
| cancel("$methodName not implemented", node, token, instruction);
|
| }
|
|
|
| + void internalError(String message,
|
| + [Node node, Token token, HInstruction instruction]) {
|
| + cancel("Internal Error: $message", node, token, instruction);
|
| + }
|
| +
|
| void cancel([String reason, Node node, Token token,
|
| HInstruction instruction]) {
|
| throw new CompilerCancelledException(reason);
|
|
|