Index: runtime/lib/isolate_patch.dart |
=================================================================== |
--- runtime/lib/isolate_patch.dart (revision 42101) |
+++ runtime/lib/isolate_patch.dart (working copy) |
@@ -17,6 +17,17 @@ |
class _CapabilityImpl implements Capability { |
factory _CapabilityImpl() native "CapabilityImpl_factory"; |
+ |
+ bool operator==(var other) { |
+ return (other is _CapabilityImpl) && _equals(other); |
+ } |
+ |
+ int get hashCode { |
+ return _get_hashcode(); |
+ } |
+ |
+ _equals(other) native "CapabilityImpl_equals"; |
+ _get_hashcode() native "CapabilityImpl_get_hashcode"; |
} |
patch class RawReceivePort { |