| Index: dart/frog/leg/compiler.dart
|
| diff --git a/dart/frog/leg/compiler.dart b/dart/frog/leg/compiler.dart
|
| index f00c94df144c6c58f4dc90f79e0d9772e83be118..c0b5ee43ee60107624e75c759f045fc858dca56a 100644
|
| --- a/dart/frog/leg/compiler.dart
|
| +++ b/dart/frog/leg/compiler.dart
|
| @@ -162,9 +162,16 @@ class Compiler implements DiagnosticListener {
|
| }
|
|
|
| void scanBuiltinLibraries() {
|
| - coreLibrary = scanBuiltinLibrary('core.dart');
|
| coreImplLibrary = scanBuiltinLibrary('coreimpl.dart');
|
| jsHelperLibrary = scanBuiltinLibrary('js_helper.dart');
|
| + coreLibrary = scanBuiltinLibrary('core.dart');
|
| + // Since the three libraries "core", "coreimpl", and "js_helper"
|
| + // coreLibrary is null when they are being built. So we add the
|
| + // implicit import of coreLibrary now. This can be cleaned up when
|
| + // we have proper support for "dart:core".
|
| + // TODO(ahe): Clean this up as described above.
|
| + scanner.importLibrary(coreImplLibrary, coreLibrary, null);
|
| + scanner.importLibrary(jsHelperLibrary, coreLibrary, null);
|
| // TODO(ngeoffray): Lazily add this method.
|
| universe.invokedNames[NO_SUCH_METHOD] =
|
| new Set<Invocation>.from(<Invocation>[new Invocation(2)]);
|
|
|