Chromium Code Reviews| Index: sdk/lib/core/function.dart |
| diff --git a/sdk/lib/core/function.dart b/sdk/lib/core/function.dart |
| index 9514951d1dd5cb1de2a10d070b6262edc7cf2ba8..c5958a8b8e2dfafc0f02f147387e1082e0c8b28c 100644 |
| --- a/sdk/lib/core/function.dart |
| +++ b/sdk/lib/core/function.dart |
| @@ -21,12 +21,13 @@ abstract class Function { |
| * This includes giving the same errors if [function] isn't callable or |
| * if it expects different parameters. |
| * |
| - * Example: [: |
| - * Map<Symbol, dynamic> namedArguments = new Map<Symbol, dynamic>(); |
| - * namedArguments[const Symbol("f")] = 4; |
| - * namedArguments[const Symbol("g")] = 5; |
| - * Function.apply(foo, [1,2,3], namedArguments); :] |
| - * gives exactly the same result as [: foo(1, 2, 3, f: 4, g: 5) :]. |
| + * Example: |
| + * Map<Symbol, dynamic> namedArguments = new Map<Symbol, dynamic>(); |
| + * namedArguments[const Symbol("f")] = 4; |
| + * namedArguments[const Symbol("g")] = 5; |
| + * Function.apply(foo, [1,2,3], namedArguments); |
| + * gives exactly the same result as |
|
Emily Fortuna
2014/01/09 18:21:57
should we add an extra line between 28 and 29?
Alan Knight
2014/01/09 18:47:28
Done.
|
| + * foo(1, 2, 3, f: 4, g: 5). |
| * |
| * If [positionalArguments] is null, it's considered an empty list. |
| * If [namedArguments] is omitted or null, it is considered an empty map. |