| Index: pkg/compiler/lib/src/resolution/resolution.dart
|
| diff --git a/pkg/compiler/lib/src/resolution/resolution.dart b/pkg/compiler/lib/src/resolution/resolution.dart
|
| index b33714c9c533f32442af59a6ab56712271d3ce44..10a3f3ca919848f18cae3d08bc6f1b42e10a2607 100644
|
| --- a/pkg/compiler/lib/src/resolution/resolution.dart
|
| +++ b/pkg/compiler/lib/src/resolution/resolution.dart
|
| @@ -360,7 +360,7 @@ class ResolverTask extends CompilerTask {
|
| ResolutionRegistry registry = visitor.registry;
|
| // TODO(johnniwinther): Maybe remove this when placeholderCollector migrates
|
| // to the backend ast.
|
| - registry.defineElement(tree.definitions.nodes.head, element);
|
| + registry.defineElement(element.definition, element);
|
| // TODO(johnniwinther): Share the resolved type between all variables
|
| // declared in the same declaration.
|
| if (tree.type != null) {
|
|
|