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

Side by Side Diff: test/dart_codegen/expect/core/int.dart

Issue 961493003: don't run dart gen on JS patch code (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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
3 abstract class int extends num { 3 abstract class int extends num {
4 factory int.fromEnvironment(String name, {int defaultValue}) { 4 external const factory int.fromEnvironment(String name, {int defaultValue});
5 throw new UnsupportedError(
6 'int.fromEnvironment can only be used as a const constructor');
7 }
8 int operator &(int other); 5 int operator &(int other);
9 int operator |(int other); 6 int operator |(int other);
10 int operator ^(int other); 7 int operator ^(int other);
11 int operator ~(); 8 int operator ~();
12 int operator <<(int shiftAmount); 9 int operator <<(int shiftAmount);
13 int operator >>(int shiftAmount); 10 int operator >>(int shiftAmount);
14 bool get isEven; 11 bool get isEven;
15 bool get isOdd; 12 bool get isOdd;
16 int get bitLength; 13 int get bitLength;
17 int toUnsigned(int width); 14 int toUnsigned(int width);
18 int toSigned(int width); 15 int toSigned(int width);
19 int operator -(); 16 int operator -();
20 int abs(); 17 int abs();
21 int get sign; 18 int get sign;
22 int round(); 19 int round();
23 int floor(); 20 int floor();
24 int ceil(); 21 int ceil();
25 int truncate(); 22 int truncate();
26 double roundToDouble(); 23 double roundToDouble();
27 double floorToDouble(); 24 double floorToDouble();
28 double ceilToDouble(); 25 double ceilToDouble();
29 double truncateToDouble(); 26 double truncateToDouble();
30 String toString(); 27 String toString();
31 String toRadixString(int radix); 28 String toRadixString(int radix);
32 static int parse(String source, {int radix, int onError(String source)}) { 29 external static int parse(String source,
33 return ((__x24) => DDC$RT.cast(__x24, dynamic, int, "CastGeneral", 30 {int radix, int onError(String source)});
34 """line 281, column 12 of dart:core/int.dart: """, __x24 is int,
35 true))(Primitives.parseInt(source, radix, onError));
36 }
37 } 31 }
OLDNEW
« no previous file with comments | « test/dart_codegen/expect/core/identical.dart ('k') | test/dart_codegen/expect/core/iterable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698