| Index: sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart b/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
|
| index fe8c5eeece7e28ffb77339d9aeaf72ba26473117..79b88984166f254b60c16a8dc9a1c3fa2f65c759 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
|
| @@ -2394,6 +2394,9 @@ abstract class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
| || Elements.isListSupertype(element, compiler)) {
|
| handleListOrSupertypeCheck(input, type);
|
| attachLocationToLast(node);
|
| + } else if (element.isTypedef()) {
|
| + checkType(input, type);
|
| + attachLocationToLast(node);
|
| } else if (types[input].canBePrimitive() || types[input].canBeNull()) {
|
| checkObject(input, '===');
|
| js.Expression objectTest = pop();
|
|
|