Sorry for how informal this review is; I'm generally in favor of it, although I would recommend that imported C functions are by default tagged with @discardableResult.
Félix > Le 17 mars 2016 à 07:33:10, Tino Heth via swift-evolution > <[email protected]> a écrit : > >> Perhaps we could add some kind of attribute to the type itself to allow for >> selection between the two behaviours? > > > imho that's a good direction — it's a pity that linking to other posts is so > tedious ;-): I voted for something similar (change the setting for a whole > module). > _______________________________________________ > swift-evolution mailing list > [email protected] > https://lists.swift.org/mailman/listinfo/swift-evolution
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
