Merge pull request #67511 from JTurcotti/tweaks

[SendNonSendable] Assorted Bugfixes and Tweaks
This commit is contained in:
Joshua Turcotti
2023-07-28 09:24:36 -07:00
committed by GitHub
7 changed files with 297 additions and 71 deletions

View File

@@ -218,7 +218,7 @@ EXPERIMENTAL_FEATURE(BuiltinModule, true)
EXPERIMENTAL_FEATURE(StrictConcurrency, true)
/// Defer Sendable checking to SIL diagnostic phase.
EXPERIMENTAL_FEATURE(DeferredSendableChecking, false)
EXPERIMENTAL_FEATURE(SendNonSendable, false)
/// Enable extended callbacks (with additional parameters) to be used when the
/// "playground transform" is enabled.

View File

@@ -54,8 +54,7 @@ enum class PartitionOpKind : uint8_t {
// Assign one value to a fresh region, takes one arg.
AssignFresh,
// Consume the region of a value, takes one arg. Region of arg must be
// non-consumed before the op.
// Consume the region of a value if not already consumed, takes one arg.
Consume,
// Merge the regions of two values, takes two args, both must be from