Index: sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
=================================================================== |
--- sdk/lib/_internal/compiler/implementation/ssa/builder.dart (revision 15068) |
+++ sdk/lib/_internal/compiler/implementation/ssa/builder.dart (working copy) |
@@ -3688,11 +3688,7 @@ |
} else { |
visit(node.expression); |
value = pop(); |
- if (value is HForeign) { |
- // TODO(6530, 6534): remove this check. |
- } else { |
- value = potentiallyCheckType(value, returnType); |
- } |
+ value = potentiallyCheckType(value, returnType); |
} |
handleInTryStatement(); |