| Index: sdk/lib/_internal/compiler/implementation/resolution/registry.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/resolution/registry.dart b/sdk/lib/_internal/compiler/implementation/resolution/registry.dart
|
| index 843684b68f3bc5bc1817689cfd4068719db03833..6c47af4fc8d2d3302efe9d343b9f3d957579057d 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/resolution/registry.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/resolution/registry.dart
|
| @@ -247,8 +247,9 @@ class ResolutionRegistry extends Registry {
|
| backend.registerTypeVariableExpression(this);
|
| }
|
|
|
| - void registerTypeLiteral(Element element) {
|
| - world.registerTypeLiteral(element, this);
|
| + void registerTypeLiteral(Send node, DartType type) {
|
| + mapping.setType(node, type);
|
| + world.registerTypeLiteral(type, this);
|
| }
|
|
|
| // TODO(johnniwinther): Remove the [ResolverVisitor] dependency. Its only
|
|
|