Unmanaged<T>.takeRetainedValue() and .takeUnretainedValue() cause compiler to fail

Originator:a2
Number:rdar://17158877 Date Originated:June 4, 2014
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 6 beta
Classification: Reproducible:
 
The compiler succeeds when the appropriate .takeUnretainedValue() and .takeRetainedValue() calls are left out but fails when they are put in.

Sample Project: http://d.pnd.mn/OtpG

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!