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

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

Issue 2093033003: Fix ResynthesizerResultProvider's handling of parts. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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/lib/src/dart/element/handle.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/dart/element/element.dart
diff --git a/pkg/analyzer/lib/src/dart/element/element.dart b/pkg/analyzer/lib/src/dart/element/element.dart
index 790fab65fb96714bcd30b54591f33906acc031f5..8f6050f565b69d9b9d9f00534f02f678dd8795d2 100644
--- a/pkg/analyzer/lib/src/dart/element/element.dart
+++ b/pkg/analyzer/lib/src/dart/element/element.dart
@@ -2867,6 +2867,9 @@ abstract class ElementImpl implements Element {
getAncestor((element) => element is LibraryElement);
@override
+ Source get librarySource => library?.source;
+
+ @override
ElementLocation get location {
if (_cachedLocation == null) {
if (library == null) {
@@ -6533,6 +6536,9 @@ class MultiplyDefinedElementImpl implements MultiplyDefinedElement {
Source get source => null;
@override
+ Source get librarySource => null;
+
+ @override
DartType get type => DynamicTypeImpl.instance;
@override
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/element/handle.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698