Sent from my iPhone > On Feb 27, 2017, at 16:34, Rex Fenley via swift-evolution > <[email protected]> wrote: > > I often find myself running into situations where I'll receive "Ambiguous use > of..." for overloaded functions or operators. In every case these situations > would be easily solved if I could specify "Generic != CertainType" in the > where clause of one of the overloads so I can disambiguate the cases. Could > this be added to language? + all the 1s, along with something like "where !(T: Foo)" IIRC, the topic has come up before, though I couldn't (quickly) find it and don't recall what the response was (other than some variation of "no", since we don't have it). - Dave Sweeris _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
Re: [swift-evolution] 'T != Type' in where clause
David Sweeris via swift-evolution Mon, 27 Feb 2017 22:22:20 -0800
- [swift-evolution] 'T != Type' in w... Rex Fenley via swift-evolution
- Re: [swift-evolution] 'T != T... David Sweeris via swift-evolution
- Re: [swift-evolution] 'T ... Nicholas Maccharoli via swift-evolution
- Re: [swift-evolution]... Nicolas Fezans via swift-evolution
- Re: [swift-evolut... Adrian Zubarev via swift-evolution
- Re: [swift-evolut... Douglas Gregor via swift-evolution
- Re: [swift-e... David Hart via swift-evolution
- Re: [swi... Douglas Gregor via swift-evolution
