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