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

Unified Diff: tests/compiler/dart2js/value_range_test.dart

Issue 12042003: Move relational operators to the new interceptors. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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: 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'));

Powered by Google App Engine
This is Rietveld 408576698