| Index: compiler/java/com/google/dart/compiler/backend/js/GenerateJavascriptAST.java
|
| diff --git a/compiler/java/com/google/dart/compiler/backend/js/GenerateJavascriptAST.java b/compiler/java/com/google/dart/compiler/backend/js/GenerateJavascriptAST.java
|
| index cd6b9fb14721d2678eedbe6744fc9b9ed4f139e0..43f0a9f04cb2e44288423189e3946fdb60c27716 100644
|
| --- a/compiler/java/com/google/dart/compiler/backend/js/GenerateJavascriptAST.java
|
| +++ b/compiler/java/com/google/dart/compiler/backend/js/GenerateJavascriptAST.java
|
| @@ -7,7 +7,6 @@ package com.google.dart.compiler.backend.js;
|
| import com.google.common.collect.Lists;
|
| import com.google.dart.compiler.DartCompilationError;
|
| import com.google.dart.compiler.DartCompilerContext;
|
| -import com.google.dart.compiler.DartCompilerErrorCode;
|
| import com.google.dart.compiler.InternalCompilerException;
|
| import com.google.dart.compiler.ast.DartArrayAccess;
|
| import com.google.dart.compiler.ast.DartArrayLiteral;
|
| @@ -3407,7 +3406,7 @@ public class GenerateJavascriptAST {
|
| }
|
|
|
| private void reportError(DartNode node, Throwable exception) {
|
| - context.compilationError(new DartCompilationError(node, DartCompilerErrorCode.INTERNAL_ERROR,
|
| + context.onError(new DartCompilationError(node, JsErrorCode.INTERNAL_ERROR,
|
| exception.getLocalizedMessage()));
|
| }
|
|
|
|
|