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

Unified Diff: pkg/analyzer/tool/summary/idl_model.dart

Issue 1691923002: Make summary format stable when adding getters to idl. (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
Index: pkg/analyzer/tool/summary/idl_model.dart
diff --git a/pkg/analyzer/tool/summary/idl_model.dart b/pkg/analyzer/tool/summary/idl_model.dart
index 93172151c421a8f615155cbbed9b8754e4b34b4a..fca10548665833e658191f242a4e36b96aa60bef 100644
--- a/pkg/analyzer/tool/summary/idl_model.dart
+++ b/pkg/analyzer/tool/summary/idl_model.dart
@@ -74,7 +74,12 @@ class FieldDeclaration extends Declaration {
*/
final FieldType type;
- FieldDeclaration(String documentation, String name, this.type)
+ /**
+ * The id of the field.
+ */
+ final int id;
+
+ FieldDeclaration(String documentation, String name, this.type, this.id)
: super(documentation, name);
}
« pkg/analyzer/lib/src/summary/idl.dart ('K') | « pkg/analyzer/tool/summary/generate.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698