Commits

Joe Groff committed 8af07b1c368
Sema: Allow Enum.Case case patterns in existential contexts. In an existential context, allow 'case Enum.Case:' by implicitly introducing a cast pattern, treating it as 'case Enum.Case as Enum:'. This will be important for the error handling design, where we want ErrorType-conforming enums to be pattern-matchable out of an ErrorType existential using 'catch' patterns. Swift SVN r25968