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

Unified Diff: tests/utils/dummy_compiler_test.dart

Issue 12974002: Convert a == to a builtin identity check if the receiver type can only hit Object==. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/universe/universe.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/utils/dummy_compiler_test.dart
===================================================================
--- tests/utils/dummy_compiler_test.dart (revision 20306)
+++ tests/utils/dummy_compiler_test.dart (working copy)
@@ -18,7 +18,9 @@
} else if (uri.scheme == "lib") {
if (uri.path.endsWith("/core.dart")) {
source = """library core;
- class Object {}
+ class Object {
+ operator==(other) {}
+ }
class Type {}
class bool {}
class num {}
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/universe/universe.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698