mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Redefine the RawRepresentable protocol to use an 'init?' method instead of 'fromRaw(Raw)', and a 'raw' get-only property instead of 'toRaw()'. Update the compiler to support deriving conformances for enums and option sets with the new protocol. rdar://problem/18216832 Swift SVN r21762
10 KiB
10 KiB