Overloaded function dispatching bug for optional type arguments
| Originator: | an00na | ||
| Number: | rdar://20712892 | Date Originated: | 27-Apr-2015 01:55 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Swift 1.2 |
| Classification: | Serious Bug | Reproducible: | Not Applicable |
Summary: let a: Int? = nil let b: Int! = nil let c: Int = 1 a == c correctly calls ==(T?, T?) b == c incorrectly calls ==(Int, Int) Sample code: http://cl.ly/2a2O0U3z083x
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!