mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This is necessary to ensure that we autorelease such values in objc thunks. Previously, we were returning the value as unowned, leaking it. I added a test to interpreter that will make sure in the future we do not leak like this again. rdar://45543138