Commits

Jordan Rose committed 1e3b6f74630
Resolving enum element patterns counts as a use of the enum type. Previously we were using the enum itself as the decl context to look up enum members in switch case patterns. This meant that we weren't respecting access control rules (not an issue, since enum cases currently don't have access control), nor recording the dependency on the enum (oops). Swift SVN r23521