[swift-evolution] [Discussion] "try" for function that does not throw
davesweeris at mac.com
Thu Jul 7 13:41:38 CDT 2016
> On Jul 7, 2016, at 12:58, Vladimir.S via swift-evolution <swift-evolution at swift.org> wrote:
> I didn't expect this is allowed(with warning):
> try print("foo")
> (Swift Ver. 3.0 (Jun 20, 2016))
> Do we really need to allow 'try' for functions that does not throw exceptions?
What's the harm?
- Dave Sweeris
More information about the swift-evolution