[swift-evolution] [Proposal] Remove Boolean

Chris Lattner clattner at apple.com
Thu Jun 23 22:32:48 CDT 2016

> On Jun 23, 2016, at 3:38 PM, Jordan Rose via swift-evolution <swift-evolution at swift.org> wrote:
> It does abstract over DarwinBoolean as well, but this still seems reasonable to me. The most common cases to encounter ObjCBool and DarwinBoolean are out-parameters (which you are usually setting rather than reading, and they will remain BooleanLiteralConvertible) and imported struct fields (which are fairly rare). And John McCall has some ideas for how to even eliminate the latter, though I think that can be separated from this proposal.



More information about the swift-evolution mailing list