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

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

Issue 1686863002: Deprecate PrefixElement.importedLibraries. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/element/element.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/dart/element/element.dart
diff --git a/pkg/analyzer/lib/dart/element/element.dart b/pkg/analyzer/lib/dart/element/element.dart
index c7e971a6ddb74afd6fa23d345b8d4d8b30a955e1..99277f23c735abec954d0c2b4218fdfb1de63819 100644
--- a/pkg/analyzer/lib/dart/element/element.dart
+++ b/pkg/analyzer/lib/dart/element/element.dart
@@ -1621,9 +1621,13 @@ abstract class PrefixElement implements Element {
LibraryElement get enclosingElement;
/**
- * Return a list containing all of the libraries that are imported using this
- * prefix.
+ * Return the empty list.
+ *
+ * Deprecated: this getter was intended to return a list containing all of
+ * the libraries that are imported using this prefix, but it was never
+ * implemented. Due to lack of demand, it is being removed.
*/
+ @deprecated
List<LibraryElement> get importedLibraries;
}
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/element/element.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698