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

Unified Diff: dart/frog/leg/compiler.dart

Issue 9413006: Handle imports of dart:core and dart:coreimpl (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments 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
« no previous file with comments | « no previous file | dart/frog/leg/scanner/scanner_task.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/compiler.dart
diff --git a/dart/frog/leg/compiler.dart b/dart/frog/leg/compiler.dart
index b37616a4c4aa598ddd8ea4aeef17b2efe6dface4..584742b17d43be38cb4074e6fed9d9b0b6004b98 100644
--- a/dart/frog/leg/compiler.dart
+++ b/dart/frog/leg/compiler.dart
@@ -169,6 +169,9 @@ class Compiler implements DiagnosticListener {
// TODO(ngeoffray): Lazily add this method.
universe.invokedNames[NO_SUCH_METHOD] =
new Set<Invocation>.from(<Invocation>[new Invocation(2)]);
+
+ universe.libraries['dart:core'] = coreLibrary;
+ universe.libraries['dart:coreimpl'] = coreImplLibrary;
}
/** Define the JS helper functions in the given library. */
« no previous file with comments | « no previous file | dart/frog/leg/scanner/scanner_task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698