mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Allow Builtin.Take -> ~Escapable
This commit is contained in:
@@ -240,6 +240,7 @@ BUILTIN_SIL_OPERATION(LoadRaw, "loadRaw", Special)
|
||||
BUILTIN_SIL_OPERATION(LoadInvariant, "loadInvariant", Special)
|
||||
|
||||
/// Take has type (Builtin.RawPointer) -> T
|
||||
/// where T: ~Copyable & ~Escapable
|
||||
BUILTIN_SIL_OPERATION(Take, "take", Special)
|
||||
|
||||
/// Destroy has type (T.Type, Builtin.RawPointer) -> ()
|
||||
|
||||
Reference in New Issue
Block a user