| Index: dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart
|
| diff --git a/dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart b/dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart
|
| index cad9fb58ddd27b610987f9e101153562b8fce3d7..e78ada21ba3831202028d782be75ae61349ea01d 100644
|
| --- a/dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart
|
| +++ b/dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart
|
| @@ -258,14 +258,13 @@ class Compiler extends leg.Compiler {
|
| Uri translatePackageUri(Uri uri, tree.Node node) {
|
| if (packageRoot == null) {
|
| if (node != null) {
|
| - reportErrorCode(node,
|
| + reportErrorCode(node,
|
| leg.MessageKind.PACKAGE_ROOT_NOT_SET,
|
| {'uri': uri});
|
| } else {
|
| - reportDiagnostic(null,
|
| + reportDiagnostic(null,
|
| leg.MessageKind.PACKAGE_ROOT_NOT_SET.error({'uri': uri}).toString(),
|
| api.Diagnostic.ERROR);
|
| -
|
| }
|
| throw new leg.CompilerCancelledException("Package root not set.");
|
| }
|
|
|