| Index: dart/frog/leg/compiler.dart
|
| diff --git a/dart/frog/leg/compiler.dart b/dart/frog/leg/compiler.dart
|
| index 85888c1a0e9ced5fc5ad1c92270778ddd175a2eb..64a6b34de47a49e5627353bee43afd01eddc2965 100644
|
| --- a/dart/frog/leg/compiler.dart
|
| +++ b/dart/frog/leg/compiler.dart
|
| @@ -90,12 +90,13 @@ class Compiler implements Canceler, Logger {
|
| }
|
|
|
| void internalError(String message,
|
| - [Node node, Token token, HInstruction instruction]) {
|
| - cancel("Internal Error: $message", node, token, instruction);
|
| + [Node node, Token token, HInstruction instruction,
|
| + Element element]) {
|
| + cancel("Internal Error: $message", node, token, instruction, element);
|
| }
|
|
|
| void cancel([String reason, Node node, Token token,
|
| - HInstruction instruction]) {
|
| + HInstruction instruction, Element element]) {
|
| throw new CompilerCancelledException(reason);
|
| }
|
|
|
|
|