Index: pkg/compiler/lib/src/closure.dart |
diff --git a/pkg/compiler/lib/src/closure.dart b/pkg/compiler/lib/src/closure.dart |
index aea190aab31a69f3535286b86e7fae8c166e6348..0e9f37fb99a530a3ecf31c35bf1141359fbc6cf2 100644 |
--- a/pkg/compiler/lib/src/closure.dart |
+++ b/pkg/compiler/lib/src/closure.dart |
@@ -131,7 +131,8 @@ class ClosureFieldElement extends ElementX |
bool get hasResolvedAst => hasTreeElements; |
ResolvedAst get resolvedAst { |
- return new ParsedResolvedAst(this, null, null, treeElements); |
+ return new ParsedResolvedAst(this, null, null, treeElements, |
+ memberContext.compilationUnit.script.resourceUri); |
} |
Expression get initializer { |
@@ -348,7 +349,8 @@ class SynthesizedCallMethodElementX extends BaseFunctionElementX |
Element get analyzableElement => closureClass.methodElement.analyzableElement; |
ResolvedAst get resolvedAst { |
- return new ParsedResolvedAst(this, node, node.body, treeElements); |
+ return new ParsedResolvedAst(this, node, node.body, treeElements, |
+ expression.compilationUnit.script.resourceUri); |
} |
accept(ElementVisitor visitor, arg) { |