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

Unified Diff: dart/frog/leg/scanner/scanner_task.dart

Issue 9373043: Move helpers and interceptors to own library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 10 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
Index: dart/frog/leg/scanner/scanner_task.dart
diff --git a/dart/frog/leg/scanner/scanner_task.dart b/dart/frog/leg/scanner/scanner_task.dart
index 33c02e771517a7f80391ed112b5f7e7464c24043..a4a4a4a7c471bd552aa29be4dfd31a8ce91685e3 100644
--- a/dart/frog/leg/scanner/scanner_task.dart
+++ b/dart/frog/leg/scanner/scanner_task.dart
@@ -38,7 +38,7 @@ class ScannerTask extends CompilerTask {
compiler.cancel("illegal script tag: ${tag.tag}", node: tag);
}
}
- if (library !== compiler.coreLibrary) {
+ if (compiler.coreLibrary !== null) {
importLibrary(library, compiler.coreLibrary, null);
}
}

Powered by Google App Engine
This is Rietveld 408576698