Chromium Code Reviews| Index: runtime/vm/object.h |
| =================================================================== |
| --- runtime/vm/object.h (revision 24499) |
| +++ runtime/vm/object.h (working copy) |
| @@ -1324,6 +1324,17 @@ |
| return BuildSignature(instantiate, kInternalName, TypeArguments::Handle()); |
| } |
| + // Build a string of the form '(T, {b: B, c: C}) => R' representing the |
| + // user visible signature of the given function. In this example, T and R are |
| + // type parameters of class C, the owner of the function. |
| + // Implicit parameters are hidden, as well as the prefix denoting the |
| + // signature class and its type parameters. |
| + RawString* UserVisibleSignature() const { |
| + const bool instantiate = false; |
| + return |
|
Ivan Posva
2013/06/27 00:34:38
I find this more readable. Take it or not...
retur
regis
2013/06/27 00:48:35
Taken.
|
| + BuildSignature(instantiate, kUserVisibleName, TypeArguments::Handle()); |
| + } |
| + |
| // 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 |
| // 'C<T, R>(T, {b: B, c: C}) => R') are instantiated using the given |