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

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: Fixes from review comments 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
« no previous file with comments | « sdk/lib/core/comparable.dart ('k') | sdk/lib/core/iterable.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/function.dart
diff --git a/sdk/lib/core/function.dart b/sdk/lib/core/function.dart
index 9514951d1dd5cb1de2a10d070b6262edc7cf2ba8..3eebddcf4f6528cd07430f22e861a57f23d44016 100644
--- a/sdk/lib/core/function.dart
+++ b/sdk/lib/core/function.dart
@@ -21,12 +21,14 @@ 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
+ * 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698