| Index: lib/compiler/implementation/ssa/builder.dart
|
| diff --git a/lib/compiler/implementation/ssa/builder.dart b/lib/compiler/implementation/ssa/builder.dart
|
| index b41e5719457b08540b2e8d0e22161af0308bd46a..1ef011b2b74f4f37af05bf29665790064e751e8c 100644
|
| --- a/lib/compiler/implementation/ssa/builder.dart
|
| +++ b/lib/compiler/implementation/ssa/builder.dart
|
| @@ -993,7 +993,8 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
|
| // [:resolveMethodElement:] require the passed element to be a
|
| // declaration.
|
| TreeElements treeElements =
|
| - compiler.resolver.resolveMethodElement(constructor.declaration);
|
| + compiler.enqueuer.resolution.getCachedElements(
|
| + constructor.declaration);
|
| classElement.backendMembers =
|
| classElement.backendMembers.prepend(bodyElement);
|
|
|
| @@ -1163,7 +1164,8 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
|
|
|
| // Build the initializers in the context of the new constructor.
|
| TreeElements oldElements = elements;
|
| - elements = compiler.resolver.resolveMethodElement(constructor);
|
| + elements =
|
| + compiler.enqueuer.resolution.getCachedElements(constructor);
|
| buildInitializers(constructor, constructors, fieldValues);
|
| elements = oldElements;
|
| });
|
|
|