Index: lib/compiler/implementation/ssa/bailout.dart |
=================================================================== |
--- lib/compiler/implementation/ssa/bailout.dart (revision 8323) |
+++ lib/compiler/implementation/ssa/bailout.dart (working copy) |
@@ -115,7 +115,7 @@ |
Type sourceType = source.computeType(compiler); |
Type speculatedType = speculativeType.computeType(compiler); |
if (speculatedType !== null |
- && !compiler.types.isSubtype(speculatedType, sourceType)) { |
+ && !compiler.types.isAssignable(speculatedType, sourceType)) { |
return false; |
} |
} |