| Index: sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| index ebbec8c35c466b7cbd8eb1aaf8bd502fd8d0f29e..4451e95d7e27b31948faa8795868a2cff9afdb62 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| @@ -3587,6 +3587,8 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
|
| // on type arguments.
|
| generateRuntimeError(node, '$type is malformed: $reasons');
|
| } else {
|
| + // TODO(karlklose): move this type registration to the codegen.
|
| + compiler.codegenWorld.instantiatedTypes.add(type);
|
| visitNewSend(node.send, type);
|
| }
|
| }
|
|
|