Index: pkg/compiler/lib/src/js_backend/impact_transformer.dart |
diff --git a/pkg/compiler/lib/src/js_backend/impact_transformer.dart b/pkg/compiler/lib/src/js_backend/impact_transformer.dart |
index 1cb567c6ec38f90b2b70ec7b22353356ec9caab4..02393a1fee571d2d16ee5b632057953c69848b96 100644 |
--- a/pkg/compiler/lib/src/js_backend/impact_transformer.dart |
+++ b/pkg/compiler/lib/src/js_backend/impact_transformer.dart |
@@ -363,7 +363,6 @@ class CodegenImpactTransformer { |
void onIsCheckForCodegen(DartType type, TransformedWorldImpact transformed) { |
if (type.isDynamic) return; |
- if (type.isVoid) return; |
type = type.unaliased; |
_impacts.typeCheck.registerImpact(transformed, _elementEnvironment); |