Commits

Chris Lattner committed 5549775677a
enhance silgen to treat OptionalSomePattern and EnumElementPattern as "similar", avoiding false positive "not exhaustive" diagnostics on switches like: switch ... { case let x?: break case .None: break } Also, start using x? patterns in the stdlib more (review appreciated!), which is what shook this issue out. Swift SVN r26004