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

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

Issue 1615453002: Use Uint32 for `int` in IDL. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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/tool/summary/generate.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/tool/summary/idl.dart
diff --git a/pkg/analyzer/tool/summary/idl.dart b/pkg/analyzer/tool/summary/idl.dart
index d02ad199e5d8af949318f16bf05a667cf33a6cc3..c18dbeda84307d4182230477d450497329defb53 100644
--- a/pkg/analyzer/tool/summary/idl.dart
+++ b/pkg/analyzer/tool/summary/idl.dart
@@ -10,7 +10,8 @@
* The code generation process introduces the following non-typical semantics:
* - Fields of type List are never null, and have a default value of the empty
* list.
- * - Fields of type int are never null, and have a default value of zero.
+ * - Fields of type int are unsigned 32-bit integers, never null, and have a
+ * default value of zero.
* - Fields of type String are never null, and have a default value of ''.
* - Fields of type bool are never null, and have a default value of false.
* - Fields whose type is an enum are never null, and have a default value of
@@ -298,7 +299,7 @@ class TypeRef {
/**
* If this [TypeRef] is contained within [LinkedUnit.types], slot id (which
* is unique within the compilation unit) identifying the target of type
- * propagation or type inference with which this [TypeRef] is asociated.
+ * propagation or type inference with which this [TypeRef] is associated.
*
* Otherwise zero.
*/
« no previous file with comments | « pkg/analyzer/tool/summary/generate.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698