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

Unified Diff: test/dart_codegen/expect/core/int.dart

Issue 963593002: Disable formatting and add new-lines to make tests faster. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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: test/dart_codegen/expect/core/int.dart
diff --git a/test/dart_codegen/expect/core/int.dart b/test/dart_codegen/expect/core/int.dart
index f044dc86e71aa6624dd6b537d37fdf9784d0dbc5..6dc96a06286f94f586e7340c7f6ae43217387f18 100644
--- a/test/dart_codegen/expect/core/int.dart
+++ b/test/dart_codegen/expect/core/int.dart
@@ -1,37 +1,36 @@
part of dart.core;
-
-abstract class int extends num {
- factory int.fromEnvironment(String name, {int defaultValue}) {
- throw new UnsupportedError(
- 'int.fromEnvironment can only be used as a const constructor');
+ abstract class int extends num {factory int.fromEnvironment(String name, {
+ int defaultValue}
+) {
+ throw new UnsupportedError('int.fromEnvironment can only be used as a const constructor');
}
- int operator &(int other);
- int operator |(int other);
- int operator ^(int other);
- int operator ~();
- int operator <<(int shiftAmount);
- int operator >>(int shiftAmount);
- bool get isEven;
- bool get isOdd;
- int get bitLength;
- int toUnsigned(int width);
- int toSigned(int width);
- int operator -();
- int abs();
- int get sign;
- int round();
- int floor();
- int ceil();
- int truncate();
- double roundToDouble();
- double floorToDouble();
- double ceilToDouble();
- double truncateToDouble();
- String toString();
- String toRadixString(int radix);
- static int parse(String source, {int radix, int onError(String source)}) {
- return ((__x24) => DDC$RT.cast(__x24, dynamic, int, "CastGeneral",
- """line 281, column 12 of dart:core/int.dart: """, __x24 is int,
- true))(Primitives.parseInt(source, radix, onError));
+ int operator &(int other);
+ int operator |(int other);
+ int operator ^(int other);
+ int operator ~();
+ int operator <<(int shiftAmount);
+ int operator >>(int shiftAmount);
+ bool get isEven;
+ bool get isOdd;
+ int get bitLength;
+ int toUnsigned(int width);
+ int toSigned(int width);
+ int operator -();
+ int abs();
+ int get sign;
+ int round();
+ int floor();
+ int ceil();
+ int truncate();
+ double roundToDouble();
+ double floorToDouble();
+ double ceilToDouble();
+ double truncateToDouble();
+ String toString();
+ String toRadixString(int radix);
+ static int parse(String source, {
+ int radix, int onError(String source)}
+) {
+ return ((__x24) => DDC$RT.cast(__x24, dynamic, int, "CastGeneral", """line 281, column 12 of dart:core/int.dart: """, __x24 is int, true))(Primitives.parseInt(source, radix, onError));
}
}

Powered by Google App Engine
This is Rietveld 408576698