Files
swift-mirror/stdlib/public/Darwin/Foundation/Notification.swift
Karoy Lorentey 13bc567085 [Foundation] Notification: Add note on == not being reflexive and stabilize hashing
The `ObjectIdentifier(object as AnyObject)` is not necessarily stable; this breaks reflexivity for ==, and it makes the hash encoding nondeterministic.
2019-04-12 15:26:40 -07:00

6.0 KiB