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

Unified Diff: pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart

Issue 2672403004: Begin hooking up Fasta to analyzer parser tests. (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/front_end/lib/src/fasta/analyzer/ast_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart b/pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart
index 24c48bab89243726e437c1290353d7be11349c1e..d7e43c2177a1752bfca74caa8f91cfb97a7a644b 100644
--- a/pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart
+++ b/pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart
@@ -449,6 +449,8 @@ class AstBuilder extends ScopeListener {
if (builder == null) {
internalError("Undefined name: $name");
}
+ // TODO(paulberry,ahe): what if the type doesn't resolve to a class
+ // element?
ahe 2017/02/07 09:47:16 FYI: I have a more complete implementation of this
Paul Berry 2017/02/07 13:45:13 Cool, glad to hear it.
cls = elementStore[builder];
assert(cls != null);
name.staticElement = cls;

Powered by Google App Engine
This is Rietveld 408576698