> On Jul 1, 2016, at 4:05 PM, Vladimir.S via swift-evolution > <[email protected]> wrote: > > On 02.07.2016 0:42, James Froggatt wrote: >> Thanks for pointing out the warning, I wouldn't have known otherwise. I >> tested using ‘try’ on a non-throwing function in the iOS Swift Playgrounds >> app, and didn't get a warning. The app doesn't seem to give warnings, only >> errors. >> >> >> >> Relatedly, I think bracketless T -> T should be an error, not a warning, in >> Swift 3. > > Strange, I also thought the proposal was to disallow such syntax, not just > produce warnings. May be the work is in progress still..
Correct, it should be an error, but is staged in as a warning. -Chris _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
