warning of unused variable when used with `defer`

Originator:manuel
Number:rdar://29573822 Date Originated:2016-12-08
Status:Open Resolved:
Product:Developer Tools Product Version:Swift 3.0.1
Classification:Other Bug Reproducible:Always
 
See 

• https://twitter.com/stuffmc/status/806803730330828802
• http://swiftlang.ng.bluemix.net/#/repl/584931efb583941b400df40f
• https://github.com/dasdom/Swiftandpainless/blob/9ac56748dab54f8af749c584368500ced93f1413/SwiftAndPainlessPlayground.playground/Pages/Defer.xcplaygroundpage/Contents.swift

Comments

Screenshot


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!