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

Unified Diff: tests/utils/recursive_import_test.dart

Issue 267443005: Add missing methods to JSNull. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/utils/recursive_import_test.dart
diff --git a/tests/utils/recursive_import_test.dart b/tests/utils/recursive_import_test.dart
index 4fa1db28c7f0a63a79d8b9f5d19df4bac1e4c01e..b34320058261576192f829aea3faf420c452ecae 100644
--- a/tests/utils/recursive_import_test.dart
+++ b/tests/utils/recursive_import_test.dart
@@ -61,6 +61,8 @@ class JSString {
operator+(other) => null;
}
class JSNull {
+ bool operator ==(other) => identical(null, other);
karlklose 2014/05/01 07:44:08 `false` would have been sufficient.
floitsch 2014/05/03 23:21:48 Copy/paste from another JSNull implementation from
+ int get hashCode => 0;
}
class JSBool {
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698