Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(898)

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/apiimpl.dart

Issue 19693011: Fix some bugs regarding native fields. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove debug code and add a comment Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | dart/sdk/lib/_internal/compiler/implementation/compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.");
}
« no previous file with comments | « no previous file | dart/sdk/lib/_internal/compiler/implementation/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698