Chromium Code Reviews| 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; |