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

Unified Diff: pkg/analyzer/lib/src/summary/idl.dart

Issue 1670353002: Enforce LinkedReference.dependency == 0 for contained entities. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Add a switch case to clarify. 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
Index: pkg/analyzer/lib/src/summary/idl.dart
diff --git a/pkg/analyzer/lib/src/summary/idl.dart b/pkg/analyzer/lib/src/summary/idl.dart
index 4ea5d9cc690131b3c2b7daf366377a984cb846e9..921781d10b7d9934fc923d9f62dd43902d991666 100644
--- a/pkg/analyzer/lib/src/summary/idl.dart
+++ b/pkg/analyzer/lib/src/summary/idl.dart
@@ -261,7 +261,7 @@ abstract class LinkedReference extends base.SummaryClass {
* declares the entity being referred to.
*
* Zero if this entity is contained within another entity (e.g. a class
- * member).
+ * member), or if [kind] is [ReferenceKind.prefix].
*/
int get dependency;

Powered by Google App Engine
This is Rietveld 408576698