swift
aea9c0c6 - [Runtime] Allow weak references to ErrorObjects.

Commit
145 days ago
[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
Author
Committer
Parents
Loading