Index: pkg/compiler/lib/src/resolution/members.dart |
diff --git a/pkg/compiler/lib/src/resolution/members.dart b/pkg/compiler/lib/src/resolution/members.dart |
index 70633cd350c4fe6322ff7af1478f360eab86c6f4..e349185be07df29c49c17e18987f09b44d2d8520 100644 |
--- a/pkg/compiler/lib/src/resolution/members.dart |
+++ b/pkg/compiler/lib/src/resolution/members.dart |
@@ -388,7 +388,7 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> { |
} |
FunctionElement resolveConstructorRedirection(FunctionElementX constructor) { |
- FunctionExpression node = constructor.parseNode(resolution.parsing); |
+ FunctionExpression node = constructor.parseNode(resolution.parsingContext); |
// A synthetic constructor does not have a node. |
if (node == null) return null; |