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

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

Issue 2972233002: Don't summarize labels, remove resynthesis code for labels. (Closed)
Patch Set: Created 3 years, 5 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 | « pkg/analyzer/lib/src/summary/format.fbs ('k') | pkg/analyzer/lib/src/summary/summarize_ast.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c4d7b6d8282c0266fc6768098f0cb75fd69e1dc4..776fef17d1375d10e574251e6dce401b3b5a086f 100644
--- a/pkg/analyzer/lib/src/summary/idl.dart
+++ b/pkg/analyzer/lib/src/summary/idl.dart
@@ -1793,8 +1793,9 @@ abstract class UnlinkedExecutable extends base.SummaryClass {
* The list of local labels.
*/
@informative
+ @deprecated
@Id(22)
- List<UnlinkedLabel> get localLabels;
+ List<String> get localLabels;
/**
* The list of local variables.
@@ -2699,37 +2700,6 @@ abstract class UnlinkedImport extends base.SummaryClass {
}
/**
- * Unlinked summary information about a label.
- */
-abstract class UnlinkedLabel extends base.SummaryClass {
- /**
- * Return `true` if this label is associated with a `switch` member (`case` or
- * `default`).
- */
- @Id(2)
- bool get isOnSwitchMember;
-
- /**
- * Return `true` if this label is associated with a `switch` statement.
- */
- @Id(3)
- bool get isOnSwitchStatement;
-
- /**
- * Name of the label.
- */
- @Id(0)
- String get name;
-
- /**
- * Offset of the label relative to the beginning of the file.
- */
- @informative
- @Id(1)
- int get nameOffset;
-}
-
-/**
* Unlinked summary information about a function parameter.
*/
abstract class UnlinkedParam extends base.SummaryClass {
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.fbs ('k') | pkg/analyzer/lib/src/summary/summarize_ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698