mirror of
https://github.com/apple/swift.git
synced 2026-06-27 12:25:55 +02:00
36eae9d4f6
(both C enums and Swift enums declared @objc), because of the "feature" in C of treating a value not declared as a case as a valid value of an enum. No more undefined behavior here! This bit can go in separately from all the work on exhaustive/frozen enums, which is still being discussed and will come later. rdar://problem/20420436