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

Unified Diff: runtime/vm/service/service.md

Issue 1219723003: Do not use the bogus @Type in service.md. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service/service.md
diff --git a/runtime/vm/service/service.md b/runtime/vm/service/service.md
index 5815bf4c38f879fc82c980e429576814ea908d5c..647beb4263f3bab1ac9bf63bc95d3aca34cf523c 100644
--- a/runtime/vm/service/service.md
+++ b/runtime/vm/service/service.md
@@ -796,7 +796,9 @@ class Class extends Object {
@Class super [optional];
// A list of interface types for this class.
- @Type[] interfaces;
+ //
+ // The value will be of the kind: Type.
+ @Instance[] interfaces;
// A list of fields in this class. Does not include fields from
// superclasses.
@@ -1061,7 +1063,10 @@ class @Field extends @Object {
@Object owner;
// The declared type of this field.
- @Type declaredType;
+ //
+ // The value will always be of one of the kinds:
+ // Type, TypeRef, TypeParameter, BoundedType.
+ @Instance declaredType;
// Is this field const?
bool const;
@@ -1086,7 +1091,10 @@ class Field extends Object {
@Object owner;
// The declared type of this field.
- @Type declaredType;
+ //
+ // The value will always be of one of the kinds:
+ // Type, TypeRef, TypeParameter, BoundedType.
+ @Instance declaredType;
// Is this field const?
bool const;
@@ -1421,7 +1429,7 @@ class Instance extends Object {
// - or -
// the referent of a TypeRef instance.
//
- // The value will always be one of:
+ // The value will always be of one of the kinds:
// Type, TypeRef, TypeParameter, BoundedType.
//
// Provided for instance kinds:
@@ -1431,7 +1439,7 @@ class Instance extends Object {
// The bound of a TypeParameter or BoundedType.
//
- // The value will always be one of:
+ // The value will always be of one of the kinds:
// Type, TypeRef, TypeParameter, BoundedType.
//
// Provided for instance kinds:
@@ -1893,7 +1901,10 @@ class TypeArguments extends Object {
string name;
// A list of types.
- @Type[] types;
+ //
+ // The value will always be one of the kinds:
+ // Type, TypeRef, TypeParameter, BoundedType.
+ @Instance[] types;
}
```
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698