[SR-4133] Memory leak when creating instance using generic type from Objective-C protocol #46716
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
memory leak
bug: Memory leak
Attachment: Download
Environment
Xcode 8.2.1, with Swift 3.0.2
Additional Detail from JIRA
md5: 45c24b5da431622358b7e4784d1e8383
duplicates:
Issue Description:
We have an Objective-C protocol which has an initializer method, and a Swift generic function with that type, creating instance of that generic type using the initializer will cause the created instance being leaked. Full demo project is attached.
The text was updated successfully, but these errors were encountered: