Index: sdk/lib/_internal/compiler/implementation/native_handler.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/native_handler.dart b/sdk/lib/_internal/compiler/implementation/native_handler.dart |
index 8de208fbf826c224fa23617670c0dccaa7569c2f..ee8c27794ef7da39997b42f1e5275e55de82eb3c 100644 |
--- a/sdk/lib/_internal/compiler/implementation/native_handler.dart |
+++ b/sdk/lib/_internal/compiler/implementation/native_handler.dart |
@@ -236,7 +236,7 @@ abstract class NativeEnqueuerBase implements NativeEnqueuer { |
} |
assert(type is DartType); |
enqueueUnusedClassesMatching( |
- (nativeClass) => compiler.types.isSubtype(nativeClass.type, type), |
+ (nativeClass) => compiler.types.isSubtype(nativeClass.thisType, type), |
cause, |
'subtypeof($type)'); |
} |