Commits

Chris Lattner committed e15de8ae719
Rework getFirstSelectorPattern to use the new rebuildImplicitPatternAround function, which is fully general w.r.t. different pattern structures that can happen in the first argument of a selector-style function. Notably, this handles VarPatterns, so we can now use var/let in selector-style functions, resolving rdar://15814933. Swift SVN r12322