| 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 b63f0a17300d69eb99c19ac5bc96ce4f42e7b685..4e1199ef618de9a2176888f4810b6e063e8bc11c 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
|
| @@ -3605,6 +3605,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);
|
| }
|
| }
|
|
|