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

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

Issue 85633003: Add num.parse. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove inserted letter in comment. Created 7 years, 1 month 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/int.dart
diff --git a/sdk/lib/core/int.dart b/sdk/lib/core/int.dart
index c06a3ee0f8d9fb40438055905a7db2cf1fa3bada..d26ff41ca4c8c5f885c35cbef52ed7af025f3399 100644
--- a/sdk/lib/core/int.dart
+++ b/sdk/lib/core/int.dart
@@ -247,7 +247,7 @@ abstract class int extends num {
* Accepts capital letters as well.
*
* If no [radix] is given then it defaults to 16 if the string starts
floitsch 2013/11/25 12:50:53 .. it defaults to 10, unless the string starts wit
Lasse Reichstein Nielsen 2013/11/25 13:05:16 Sounds much better. Done!
- * with "0x", "-0x" or "+0x" and 10 otherwise.
+ * with "0x", "-0x" or "+0x" (and the "0x" is then ignored) and 10 otherwise.
*
* The [source] must be a non-empty sequence of base-[radix] digits,
* optionally prefixed with a minus or plus sign ('-' or '+').

Powered by Google App Engine
This is Rietveld 408576698