| Index: pkg/compiler/lib/src/compiler.dart
|
| diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
|
| index 13443a32c58013977045d93ba84c3ff997dc75b2..c64f2ad74e7592f6b35520c19338c20907b39077 100644
|
| --- a/pkg/compiler/lib/src/compiler.dart
|
| +++ b/pkg/compiler/lib/src/compiler.dart
|
| @@ -1957,6 +1957,15 @@ class _CompilerElementEnvironment implements ElementEnvironment {
|
| }
|
|
|
| @override
|
| + void forEachClass(LibraryElement library, void f(ClassElement cls)) {
|
| + library.implementation.forEachLocalMember((member) {
|
| + if (member.isClass) {
|
| + f(member);
|
| + }
|
| + });
|
| + }
|
| +
|
| + @override
|
| LibraryElement lookupLibrary(Uri uri, {bool required: false}) {
|
| LibraryElement library = _libraryProvider.lookupLibrary(uri);
|
| // If the script of the library is synthesized, the library does not exist
|
|
|