Files
swift-mirror/stdlib/public/runtime
Mike Ash 736337dceb [6.2][Runtime] Allow weak references to ErrorObjects.
When ObjC interop is not available, Error values are represented in ErrorObject boxes. These are full HeapObjects, but unowned refcounting ops asserted that the metadata was class metadata. This assert would be hit when destroying an ErrorObject that was weakly referenced. Expand the asserts to accept ErrorObject metadata as well.

rdar://150214921
(cherry picked from commit aea9c0c65a)
2025-05-19 15:21:45 -04:00
..
2024-07-08 10:29:31 +01:00
2024-03-07 16:33:49 +00:00
2024-12-12 10:36:36 -08:00