Bad error message for unhandled throwing function call
| Originator: | an00na | ||
| Number: | rdar://21331930 | Date Originated: | 10-Jun-2015 07:09 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 7.0 beta 1 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: The real error is calling throwing function without try. But error message is nonsense: Binary operator ‘&&’ can not be applied to two Bool operands. Steps to Reproduce: Run the sample playground. Sample code: http://cl.ly/0A1w0X1Z1f0w
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!