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

Unified Diff: tests/compiler/dart2js/mock_compiler.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/mock_compiler.dart
===================================================================
--- tests/compiler/dart2js/mock_compiler.dart (revision 17334)
+++ tests/compiler/dart2js/mock_compiler.dart (working copy)
@@ -77,6 +77,11 @@
operator |(other) {}
operator &(other) {}
operator ^(other) {}
+ operator >(other) {}
+ operator >=(other) {}
+ operator <(other) {}
+ operator <=(other) {}
+ operator ==(other) {}
}
class JSInt {
}
@@ -99,7 +104,9 @@
abstract class double extends num { }
class bool {}
class String {}
- class Object {}
+ class Object {
+ operator ==(other) {}
+ }
class Type {}
class Function {}
class List<E> {}

Powered by Google App Engine
This is Rietveld 408576698