Re: [swift-dev] RFC: bridging peephole for "as" casts

2017-06-13 Thread John McCall via swift-dev
> On Jun 13, 2017, at 7:32 PM, Jordan Rose wrote: >> On Jun 13, 2017, at 16:11, John McCall via swift-dev > > wrote: >> >> So, there's a longstanding issue that we're planning to fix in Swift 4, and >> I want to both make

Re: [swift-dev] RFC: bridging peephole for "as" casts

2017-06-13 Thread Jordan Rose via swift-dev
> On Jun 13, 2017, at 16:11, John McCall via swift-dev > wrote: > > So, there's a longstanding issue that we're planning to fix in Swift 4, and I > want to both make sure that the plan is documented publicly and give people a > chance to disagree with it. > > A

[swift-dev] RFC: bridging peephole for "as" casts

2017-06-13 Thread John McCall via swift-dev
So, there's a longstanding issue that we're planning to fix in Swift 4, and I want to both make sure that the plan is documented publicly and give people a chance to disagree with it. A bridging conversion is a conversion between a Swift type and a foreign type (C / ObjC / whatever) which can