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

Unified Diff: sdk/lib/internal/internal.dart

Issue 2822303002: Format all files under the sdk/lib directory. (Closed)
Patch Set: Format all files under the sdk/lib directory. Created 3 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
Index: sdk/lib/internal/internal.dart
diff --git a/sdk/lib/internal/internal.dart b/sdk/lib/internal/internal.dart
index 512bc21c2d82172dec23a3aa442c61611df39d90..5d906171ea138fad2059e29751e03fdb75749fbf 100644
--- a/sdk/lib/internal/internal.dart
+++ b/sdk/lib/internal/internal.dart
@@ -20,28 +20,33 @@ part 'symbol.dart';
// Powers of 10 above that are only approximate due to lack of precission.
// Used by double-parsing.
const POWERS_OF_TEN = const [
- 1.0, /* 0 */
- 10.0,
- 100.0,
- 1000.0,
- 10000.0,
- 100000.0, /* 5 */
- 1000000.0,
- 10000000.0,
- 100000000.0,
- 1000000000.0,
- 10000000000.0, /* 10 */
- 100000000000.0,
- 1000000000000.0,
- 10000000000000.0,
- 100000000000000.0,
- 1000000000000000.0, /* 15 */
- 10000000000000000.0,
- 100000000000000000.0,
- 1000000000000000000.0,
- 10000000000000000000.0,
- 100000000000000000000.0, /* 20 */
- 1000000000000000000000.0,
+ 1.0,
+ /* 0 */
floitsch 2017/04/19 09:34:19 These comments are on the wrong line.
+ 10.0,
+ 100.0,
+ 1000.0,
+ 10000.0,
+ 100000.0,
+ /* 5 */
+ 1000000.0,
+ 10000000.0,
+ 100000000.0,
+ 1000000000.0,
+ 10000000000.0,
+ /* 10 */
+ 100000000000.0,
+ 1000000000000.0,
+ 10000000000000.0,
+ 100000000000000.0,
+ 1000000000000000.0,
+ /* 15 */
+ 10000000000000000.0,
+ 100000000000000000.0,
+ 1000000000000000000.0,
+ 10000000000000000000.0,
+ 100000000000000000000.0,
+ /* 20 */
+ 1000000000000000000000.0,
10000000000000000000000.0,
];
@@ -55,7 +60,7 @@ class CodeUnits extends UnmodifiableListBase<int> {
CodeUnits(this._string);
int get length => _string.length;
- int operator[](int i) => _string.codeUnitAt(i);
+ int operator [](int i) => _string.codeUnitAt(i);
static String stringOf(CodeUnits u) => u._string;
}

Powered by Google App Engine
This is Rietveld 408576698