Index: pkg/compiler/lib/src/ssa/codegen.dart |
diff --git a/pkg/compiler/lib/src/ssa/codegen.dart b/pkg/compiler/lib/src/ssa/codegen.dart |
index 5396b585fbe1cc6738475d9edb64b779ee338995..20163ce776ddf4b2ee8320a8a635b45398187239 100644 |
--- a/pkg/compiler/lib/src/ssa/codegen.dart |
+++ b/pkg/compiler/lib/src/ssa/codegen.dart |
@@ -2928,7 +2928,6 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor { |
DartType type = node.typeExpression; |
assert(!type.isTypedef); |
assert(!type.isDynamic); |
- assert(!type.isVoid); |
if (type.isFunctionType) { |
// TODO(5022): We currently generate $isFunction checks for |
// function types. |