[Swift 2.2] Fix regression with capturing class-constrained generic parameters


(Slava Pestov) #1

Hi Joe,

There was a regression in 2.2 resulting from some changes to closure representation — rdar://problem/24470533:

https://github.com/apple/swift/pull/1359

The bug does not occur in 3.0 because some other changes exposed and forced us to fix the underlying issue with AbstractionPatterns not supporting interface types — I will just check in a test to master instead.

Slava


(Joe Pamer) #2

Looks good - approved for swift-2.2-branch.

Thanks!
- Joe

···

On Feb 18, 2016, at 2:41 PM, Slava Pestov <spestov@apple.com> wrote:

Hi Joe,

There was a regression in 2.2 resulting from some changes to closure representation — rdar://problem/24470533: <rdar://problem/24470533:>

https://github.com/apple/swift/pull/1359

The bug does not occur in 3.0 because some other changes exposed and forced us to fix the underlying issue with AbstractionPatterns not supporting interface types — I will just check in a test to master instead.

Slava