[SR-5285] Weak reference incorrectly nil'd in Xcode 9 beta 2 (fine in Xcode 9 beta 1) #47860
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
regression
swift 4.0
Attachment: Download
Additional Detail from JIRA
md5: 09921669f917851418125cefcbd7e986
Issue Description:
The following code in Swift, seems to incorrectly clear a weak reference in Xcode 9b2:
Output is:
This works correctly in Xcode 9 beta 1:
A playground is attached.
The text was updated successfully, but these errors were encountered: