swift
0ac8cd35 - Sema: Allow resilient modules to add enum elements without breaking clients.

Commit
319 days ago
Sema: Allow resilient modules to add enum elements without breaking clients. In the implementation of https://github.com/swiftlang/swift/pull/73472, warnings about uncovered cases were upgraded to errors in switches covering enums with an `@unknown default` case. This change was a mistake; it should not be source breaking for a resilient library to add new cases to a non-frozen enum. Resolves rdar://138488976.
Author
Committer
Parents
Loading