Commits
Chris Lattner committed 2426134853e
improve hte AST representation of capture lists to build VarDecls and PatternBindingDecls, and inject the vardecls into the name resolution scope while parsing the body of the closure. This allows references from the body of the closure to be resolved to the capture list, e.g. in cases like the testcase. Swift SVN r17760