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

Unified Diff: sdk/lib/core/function.dart

Issue 131793004: Improve comment formatting in dart-core, especially Comparable (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
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.
« no previous file with comments | « sdk/lib/core/comparable.dart ('k') | sdk/lib/core/iterable.dart » ('j') | sdk/lib/core/set.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698