| 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 c53de9316ca87bd1f77a4122c7b5d8edcda14614..eb1b00634a6d7a1f3075086feac47ff57fd3b63f 100644
|
| --- a/pkg/compiler/lib/src/ssa/codegen.dart
|
| +++ b/pkg/compiler/lib/src/ssa/codegen.dart
|
| @@ -2877,6 +2877,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.
|
|
|