| Index: sdk/lib/core/int.dart
|
| diff --git a/sdk/lib/core/int.dart b/sdk/lib/core/int.dart
|
| index c06a3ee0f8d9fb40438055905a7db2cf1fa3bada..6ca271829d00c7329a918600f6acf9f92951e439 100644
|
| --- a/sdk/lib/core/int.dart
|
| +++ b/sdk/lib/core/int.dart
|
| @@ -246,8 +246,9 @@ abstract class int extends num {
|
| * first the decimal digits 0..9, and then the letters 'a'..'z'.
|
| * Accepts capital letters as well.
|
| *
|
| - * If no [radix] is given then it defaults to 16 if the string starts
|
| - * with "0x", "-0x" or "+0x" and 10 otherwise.
|
| + * If no [radix] is given then it defaults to 10, unless the string starts
|
| + * with "0x", "-0x" or "+0x", in which case the radix is set to 16 and the
|
| + * "0x" is ignored.
|
| *
|
| * The [source] must be a non-empty sequence of base-[radix] digits,
|
| * optionally prefixed with a minus or plus sign ('-' or '+').
|
|
|