We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Bool.init(_builtinBooleanLiteral:)
1 parent 74fbae1 commit d4730e0Copy full SHA for d4730e0
stdlib/public/core/Bool.swift
@@ -143,6 +143,7 @@ public struct Bool: Sendable {
143
144
extension Bool: _ExpressibleByBuiltinBooleanLiteral, ExpressibleByBooleanLiteral {
145
@_transparent
146
+ @_semantics("bool.literal_init")
147
public init(_builtinBooleanLiteral value: Builtin.Int1) {
148
self._value = value
149
}
0 commit comments