mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Note that I said "warnings"; we're going to be more cautious about rollout and just make this a warning in Swift 5 mode, with /no/ diagnostics in Swift 3 and 4. Users are still free to use `@unknown default` in these modes, and they'll get a fatal run-time error if they don't and an unexpected case actually shows up. rdar://problem/29324688
42 KiB
42 KiB