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

Unified Diff: pkg/analyzer/lib/src/generated/element_resolver.dart

Issue 2357803002: Add SyntacticEntity, an interface shared by AstNode and Token. (Closed)
Patch Set: Remove redundant comment Created 4 years, 3 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/analyzer/lib/src/generated/element_resolver.dart
diff --git a/pkg/analyzer/lib/src/generated/element_resolver.dart b/pkg/analyzer/lib/src/generated/element_resolver.dart
index ba6c8846b005b4c53421948b7a8483ad6d226aa9..a5bd4eb5b3238101711d8963987302c1de4ba0b1 100644
--- a/pkg/analyzer/lib/src/generated/element_resolver.dart
+++ b/pkg/analyzer/lib/src/generated/element_resolver.dart
@@ -2612,7 +2612,7 @@ class SyntheticIdentifier extends IdentifierImpl {
Element get bestElement => null;
@override
- Iterable get childEntities {
+ Iterable<SyntacticEntity> get childEntities {
// Should never be called, since a SyntheticIdentifier never appears in the
// AST--it is just used for lookup.
assert(false);
« pkg/analyzer/lib/dart/ast/token.dart ('K') | « pkg/analyzer/lib/src/dart/ast/ast.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698