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

Unified Diff: runtime/lib/integers.dart

Issue 10225003: toRadixString returns lower case characters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add (tiny) test. Created 8 years, 8 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 | « no previous file | tests/corelib/src/IntegerToRadixStringTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/integers.dart
diff --git a/runtime/lib/integers.dart b/runtime/lib/integers.dart
index 4d4759134b6a7ba6d6d4c4f6d76118fbc32193c7..c1a79c8f843e7f9a4c9e596090f43dd603d19196 100644
--- a/runtime/lib/integers.dart
+++ b/runtime/lib/integers.dart
@@ -137,7 +137,7 @@ class IntegerImplementation {
}
String toRadixString(int radix) {
final table = const ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
- "A", "B", "C", "D", "E", "F"];
+ "a", "b", "c", "d", "e", "f"];
if ((radix <= 1) || (radix > 16)) {
throw "Bad radix: $radix";
}
« no previous file with comments | « no previous file | tests/corelib/src/IntegerToRadixStringTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698