| 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 5faec84c47b3c6995f9e86f86fefdd70b1368be6..ace106606310f9feaa0718d0ddd2ef893cc79afe 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);
|
| }
|
| }
|
|
|