| Index: pkg/compiler/lib/src/mirrors_used.dart
|
| diff --git a/pkg/compiler/lib/src/mirrors_used.dart b/pkg/compiler/lib/src/mirrors_used.dart
|
| index 7ddd29a1bef1090ac788d95f2590f60c8f3642a0..4acaf7c0a0ac045bfa1e8cfd67bdb15887da5c8a 100644
|
| --- a/pkg/compiler/lib/src/mirrors_used.dart
|
| +++ b/pkg/compiler/lib/src/mirrors_used.dart
|
| @@ -423,7 +423,7 @@ class MirrorUsageBuilder {
|
| ResolutionInterfaceType interface = type;
|
| ClassElement cls = type.element;
|
| cls.ensureResolved(compiler.resolution);
|
| - for (ResolutionDartType supertype in cls.allSupertypes) {
|
| + for (ResolutionInterfaceType supertype in cls.allSupertypes) {
|
| if (supertype.isInterfaceType &&
|
| !supertype.element.library.isInternalLibrary) {
|
| return interface.asInstanceOf(supertype.element);
|
|
|