Chromium Code Reviews| Index: runtime/vm/object.h |
| =================================================================== |
| --- runtime/vm/object.h (revision 14231) |
| +++ runtime/vm/object.h (working copy) |
| @@ -1061,17 +1061,17 @@ |
| RawString* QualifiedUserVisibleName() const; |
| virtual RawString* DictionaryName() const { return name(); } |
| - // Build a string of the form '<T, R>(T, [b: B, c: C]) => R' representing the |
| + // Build a string of the form 'C<T, R>(T, {b: B, c: C}) => R' representing the |
| // internal signature of the given function. |
|
srdjan
2012/10/30 00:00:57
Maybe say what is class, what is type parameter.
regis
2012/10/30 00:06:16
Done.
|
| RawString* Signature() const { |
| const bool instantiate = false; |
| return BuildSignature(instantiate, kInternalName, TypeArguments::Handle()); |
| } |
| - // Build a string of the form '(A, [b: B, c: C]) => D' representing the |
| + // Build a string of the form '(A, {b: B, c: C}) => D' representing the |
| // signature of the given function, where all generic types (e.g. '<T, R>' in |
| - // '<T, R>(T, [b: B, c: C]) => R') are instantiated using the given |
| - // instantiator type argument vector (e.g. '<A, D>'). |
| + // 'C<T, R>(T, {b: B, c: C}) => R') are instantiated using the given |
| + // instantiator type argument vector of a C instance (e.g. '<A, D>'). |
| RawString* InstantiatedSignatureFrom( |
| const AbstractTypeArguments& instantiator, |
| NameVisibility name_visibility) const { |