Re: [swift-evolution] [Review] SE-0072: Fully eliminate implicit bridging conversions from Swift

2016-05-05 Thread Jordan Rose via swift-evolution
> On May 5, 2016, at 16:32, Joe Pamer wrote: > > >> On May 2, 2016, at 9:09 AM, Jordan Rose > > wrote: >> >> It’s not the keys that are the problem; it’s the values. String and Array >> are not AnyObjects. Today they get an implicit conversion because they are >

Re: [swift-evolution] [Review] SE-0072: Fully eliminate implicit bridging conversions from Swift

2016-05-05 Thread Joe Pamer via swift-evolution
> On May 2, 2016, at 9:09 AM, Jordan Rose wrote: > > It’s not the keys that are the problem; it’s the values. String and Array are > not AnyObjects. Today they get an implicit conversion because they are > known-bridgeable. Hey Jordan, I share your concern, though I’ve spent my day combing t

Re: [swift-evolution] [Review] SE-0072: Fully eliminate implicit bridging conversions from Swift

2016-05-04 Thread Joe Pamer via swift-evolution
> On Apr 29, 2016, at 5:32 PM, Jordan Rose wrote: > > [Proposal: > https://github.com/apple/swift-evolution/blob/master/proposals/0072-eliminate-implicit-bridging-conversions.md] > >

Re: [swift-evolution] [Review] SE-0072: Fully eliminate implicit bridging conversions from Swift

2016-05-02 Thread Jordan Rose via swift-evolution
It’s not the keys that are the problem; it’s the values. String and Array are not AnyObjects. Today they get an implicit conversion because they are known-bridgeable. Jordan > On Apr 30, 2016, at 12:44, Jean-Daniel Dupas wrote: > > Is this is a plist like construct, couldn’t it simply be decl

Re: [swift-evolution] [Review] SE-0072: Fully eliminate implicit bridging conversions from Swift

2016-04-30 Thread Jean-Daniel Dupas via swift-evolution
Is this is a plist like construct, couldn’t it simply be declared as [NSString: AnyObject] ? As we are talking about removing implicit cast, forcing the user to use NSString explicitly for API that need a NSDictionary is probably not a problem ? let userInfo: [NSString: AnyObject] = [

Re: [swift-evolution] [Review] SE-0072: Fully eliminate implicit bridging conversions from Swift

2016-04-30 Thread Rainer Brockerhoff via swift-evolution
On 4/29/16 21:32, Jordan Rose via swift-evolution wrote: > [Proposal: > https://github.com/apple/swift-evolution/blob/master/proposals/0072-eliminate-implicit-bridging-conversions.md] > > I’m a little concerned about the affect this has on “plist literals”. > Specifically, I can no longer constr

Re: [swift-evolution] [Review] SE-0072: Fully eliminate implicit bridging conversions from Swift

2016-04-29 Thread Jordan Rose via swift-evolution
[Proposal: https://github.com/apple/swift-evolution/blob/master/proposals/0072-eliminate-implicit-bridging-conversions.md] I’m a little concerned about the affect this has on “plist literals”. Specifically, I can no longer construct a dictionary like this: let userInfo: [String: AnyObject] = [

[swift-evolution] [Review] SE-0072: Fully eliminate implicit bridging conversions from Swift

2016-04-26 Thread Chris Lattner via swift-evolution
Hello Swift community, The review of "SE-0072: Fully eliminate implicit bridging conversions from Swift" begins now and runs through May 2. The proposal is available here: https://github.com/apple/swift-evolution/blob/master/proposals/0072-eliminate-implicit-bridging-conversions.md Rev