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

Side by Side 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 unified diff | Download patch
OLDNEW
1 part of dart.core; 1 part of dart.core;
2 2 abstract class int extends num {factory int.fromEnvironment(String name, {
3 abstract class int extends num { 3 int defaultValue}
4 factory int.fromEnvironment(String name, {int defaultValue}) { 4 ) {
5 throw new UnsupportedError( 5 throw new UnsupportedError('int.fromEnvironment can only be used as a const co nstructor');
6 'int.fromEnvironment can only be used as a const constructor');
7 } 6 }
8 int operator &(int other); 7 int operator &(int other);
9 int operator |(int other); 8 int operator |(int other);
10 int operator ^(int other); 9 int operator ^(int other);
11 int operator ~(); 10 int operator ~();
12 int operator <<(int shiftAmount); 11 int operator <<(int shiftAmount);
13 int operator >>(int shiftAmount); 12 int operator >>(int shiftAmount);
14 bool get isEven; 13 bool get isEven;
15 bool get isOdd; 14 bool get isOdd;
16 int get bitLength; 15 int get bitLength;
17 int toUnsigned(int width); 16 int toUnsigned(int width);
18 int toSigned(int width); 17 int toSigned(int width);
19 int operator -(); 18 int operator -();
20 int abs(); 19 int abs();
21 int get sign; 20 int get sign;
22 int round(); 21 int round();
23 int floor(); 22 int floor();
24 int ceil(); 23 int ceil();
25 int truncate(); 24 int truncate();
26 double roundToDouble(); 25 double roundToDouble();
27 double floorToDouble(); 26 double floorToDouble();
28 double ceilToDouble(); 27 double ceilToDouble();
29 double truncateToDouble(); 28 double truncateToDouble();
30 String toString(); 29 String toString();
31 String toRadixString(int radix); 30 String toRadixString(int radix);
32 static int parse(String source, {int radix, int onError(String source)}) { 31 static int parse(String source, {
33 return ((__x24) => DDC$RT.cast(__x24, dynamic, int, "CastGeneral", 32 int radix, int onError(String source)}
34 """line 281, column 12 of dart:core/int.dart: """, __x24 is int, 33 ) {
35 true))(Primitives.parseInt(source, radix, onError)); 34 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));
36 } 35 }
37 } 36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698