Chromium Code Reviews| Index: tests/compiler/dart2js/value_range_test.dart |
| =================================================================== |
| --- tests/compiler/dart2js/value_range_test.dart (revision 17334) |
| +++ tests/compiler/dart2js/value_range_test.dart (working copy) |
| @@ -241,10 +241,15 @@ |
| operator |(other) {} |
| operator &(other) {} |
| operator ^(other) {} |
| + operator <(other) {} |
| + operator >(other) {} |
| + operator <=(other) {} |
| + operator >=(other) {} |
| + operator ==(other) {} |
| } |
| - class JSInt { |
| + class JSInt extends JSNumber { |
| } |
| - class JSDouble { |
| + class JSDouble extends JSNumber { |
| } |
| class JSNull { |
| } |
| @@ -261,6 +266,7 @@ |
| code, |
| coreSource: DEFAULT_CORELIB_WITH_LIST_INTERFACE, |
| interceptorsSource: INTERCEPTORSLIB_WITH_MEMBERS); |
| + print(generated); |
|
kasperl
2013/01/21 09:45:11
Remove again?
ngeoffray
2013/01/21 10:41:44
Done.
|
| switch (kind) { |
| case REMOVED: |
| Expect.isTrue(!generated.contains('ioore')); |