Commit Graph

5 Commits

Author SHA1 Message Date
Anthony
c9b17383c8 Grammatical corrections for compound modifiers 2025-04-24 09:21:32 +02:00
Konrad `ktoso` Malawski
8848a52fae [Concurrency] CaseIterable synthesized allCases must be nonisolated 2024-06-11 12:42:07 +09:00
Tatsuya Tanaka
01fc3fe893 Refactor CaseIterableTests 2019-05-29 12:17:41 +09:00
Tatsuya Tanaka
074e310130 make allCases tests more strict 2019-05-28 13:29:19 +09:00
Robert Widmann
dac06898e9 [SE-0194] Deriving Collections of Enum Cases
Implements the minimum specified by the SE-proposal.

* Add the CaseIterable protocol with AllCases associatedtype and
allCases requirement
* Automatic synthesis occurs for "simple" enums
    - Caveat: Availability attributes suppress synthesis.  This can be
              lifted in the future
    - Caveat: Conformance must be stated on the original type
              declaration (just like synthesizing Equatable/Hashable)
    - Caveat: Synthesis generates an [T].  A more efficient collection
              - possibly even a lazy one - should be put here.
2018-03-09 00:22:55 -05:00