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

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

Issue 1422793002: Use LIBRARY_SPECIFIC_UNITS instead of UNITS. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/task/dart.dart
diff --git a/pkg/analyzer/lib/task/dart.dart b/pkg/analyzer/lib/task/dart.dart
index 644ab2466abcff73490a3a8a75f28698e98baa92..7bd0a3c0bb89507d347786fd1bbafb51bf67e7b1 100644
--- a/pkg/analyzer/lib/task/dart.dart
+++ b/pkg/analyzer/lib/task/dart.dart
@@ -151,6 +151,9 @@ final ListResultDescriptor<Source> UNITS =
* change if a single part is included in more than one library.
*/
class LibrarySpecificUnit implements AnalysisTarget {
+ static const List<LibrarySpecificUnit> EMPTY_LIST =
+ const <LibrarySpecificUnit>[];
+
/**
* The defining compilation unit of the library in which the [unit]
* is analyzed.

Powered by Google App Engine
This is Rietveld 408576698