| 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 20163ce776ddf4b2ee8320a8a635b45398187239..5396b585fbe1cc6738475d9edb64b779ee338995 100644
|
| --- a/pkg/compiler/lib/src/ssa/codegen.dart
|
| +++ b/pkg/compiler/lib/src/ssa/codegen.dart
|
| @@ -2928,6 +2928,7 @@ 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.
|
|
|