[swift-evolution] [Discussion] "try" for function that does not throw

Vladimir.S svabox at gmail.com
Thu Jul 7 12:58:41 CDT 2016


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?


More information about the swift-evolution mailing list