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

Unified Diff: tests/utils/dummy_compiler_test.dart

Issue 236313012: Don't hide interceptors in mirrors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. 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 | « tests/lib/mirrors/superclass2_test.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
diff --git a/tests/utils/dummy_compiler_test.dart b/tests/utils/dummy_compiler_test.dart
index f305e9cc8eb0d8c23373cf5bb41e371ce483003f..17436151a61e9a36285b6acd01523850b310f96f 100644
--- a/tests/utils/dummy_compiler_test.dart
+++ b/tests/utils/dummy_compiler_test.dart
@@ -22,6 +22,7 @@ Future<String> provider(Uri uri) {
library core;
class Object {
Object();
+ // Note: JSNull below must reimplement all members.
operator==(other) {}
get hashCode => throw 'Object.hashCode not implemented.';
}
@@ -84,7 +85,10 @@ class JSUInt31 {}
class JSUInt32 {}
class JSDouble {}
class JSNumber {}
-class JSNull {}
+class JSNull {
+ bool operator ==(other) => identical(null, other);
+ int get hashCode => 0;
+}
class JSBool {}
getInterceptor(o){}
getDispatchProperty(o) {}
« no previous file with comments | « tests/lib/mirrors/superclass2_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698