| Index: lib/compiler/implementation/ssa/codegen.dart
|
| diff --git a/lib/compiler/implementation/ssa/codegen.dart b/lib/compiler/implementation/ssa/codegen.dart
|
| index 01a3f7768247f11d5c8b3105c90b30898fb76363..30d2e60100794827bc47c5ecdc5e951940d56e69 100644
|
| --- a/lib/compiler/implementation/ssa/codegen.dart
|
| +++ b/lib/compiler/implementation/ssa/codegen.dart
|
| @@ -2545,7 +2545,7 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
| return;
|
| }
|
|
|
| - assert(node.isCheckedModeCheck);
|
| + assert(node.isCheckedModeCheck || node.isCastTypeCheck);
|
| if (element == compiler.stringClass) {
|
| helper = const SourceString('stringTypeCheck');
|
| } else if (element == compiler.doubleClass) {
|
|
|