| 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 78a800fb26d7c292928957a81cf661ff1e6f9247..7709a20ba9426da815ce101e251d94e41895e751 100644
|
| --- a/pkg/compiler/lib/src/ssa/codegen.dart
|
| +++ b/pkg/compiler/lib/src/ssa/codegen.dart
|
| @@ -2881,6 +2881,7 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
| assert(node.isCheckedModeCheck || node.isCastTypeCheck);
|
| DartType type = node.typeExpression;
|
| assert(!type.isTypedef);
|
| + assert(!type.isDynamic);
|
| if (type.isFunctionType) {
|
| // TODO(5022): We currently generate $isFunction checks for
|
| // function types.
|
|
|