on Wed, 10 Jan 2018 07:12:27 +0000 Antoine Cœur <adigitalkni...@gmail.com> wrote:
> > And what about, as an alternative: > > case (_, #unknown): … matches any int and any unknown enum case ... > case _: … matches anything ... > > Then it clearly goes the "pattern matching" way. > this will be logical and consistent. or #default everywhere instead of _ case (#default, #unknown): case #default: Mike
_______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution