Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(663)

Unified Diff: pkg/kernel/lib/ast.dart

Issue 2704753002: Implement line and column numbers. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/kernel/lib/ast.dart
diff --git a/pkg/kernel/lib/ast.dart b/pkg/kernel/lib/ast.dart
index 2f3cb111d74337e809f435bacbdfa2000ae8f9db..2044970b5e553dea2f4c70a7123bb81d5356d01f 100644
--- a/pkg/kernel/lib/ast.dart
+++ b/pkg/kernel/lib/ast.dart
@@ -3609,7 +3609,7 @@ class Program extends TreeNode {
Program([List<Library> libraries, Map<String, Source> uriToSource])
: libraries = libraries ?? <Library>[],
uriToSource = uriToSource ?? <String, Source>{} {
- setParents(libraries, this);
+ setParents(this.libraries, this);
}
accept(TreeVisitor v) => v.visitProgram(this);

Powered by Google App Engine
This is Rietveld 408576698