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

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

Issue 346303003: Analyzer snapshot to with FunctionElement.identifier fix. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | pkg/analyzer/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/element.dart
diff --git a/pkg/analyzer/lib/src/generated/element.dart b/pkg/analyzer/lib/src/generated/element.dart
index 1087d8d8c7922d65cb2c6c58ab38cedde97622a3..84181990a657dff443d7c36ad9b19dd23003091a 100644
--- a/pkg/analyzer/lib/src/generated/element.dart
+++ b/pkg/analyzer/lib/src/generated/element.dart
@@ -4771,7 +4771,13 @@ class FunctionElementImpl extends ExecutableElementImpl implements FunctionEleme
}
@override
- String get identifier => "${name}@${nameOffset}";
+ String get identifier {
+ String identifier = super.identifier;
+ if (!isStatic) {
+ identifier += "@${nameOffset}";
+ }
+ return identifier;
+ }
}
/**
« no previous file with comments | « no previous file | pkg/analyzer/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698