Enum cases as protocol witnesses

As a hypothetical, this could be a fully-fledged @implements feature which simply allows case statements with associated values to implement init requirements and static func requirements that return Self, without allowing bare case statements (without @implements to satisfy those static func requirements.

1 Like