| Index: pkg/compiler/lib/src/compiler.dart
|
| diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
|
| index 4618061c7dd270cc3ae25b492eefc4759451a2a6..364093270762da98cae5d3242fa655d1a0d6d338 100644
|
| --- a/pkg/compiler/lib/src/compiler.dart
|
| +++ b/pkg/compiler/lib/src/compiler.dart
|
| @@ -1917,6 +1917,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
|
|
|