File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5611,10 +5611,10 @@ bool ConstraintSystem::repairFailures(
56115611 // we need to wait until the very last moment to strip
56125612 // the concurrency annotations from the inner most type.
56135613 conversionsOrFixes.empty()) {
5614- // `swift_attr` attributes in the type context were ignored before,
5615- // which means that we need to maintain status quo to avoid breaking
5616- // witness matching by stripping everything concurrency related from
5617- // inner types in non-full checking mode.
5614+ // Allow requirements to introduce `swift_attr` annotations
5615+ // (note that `swift_attr` in type contexts weren't supported
5616+ // before) and for witnesses to adopt them gradually by matching
5617+ // with a warning in non-strict concurrency mode.
56185618 if (!(Context.isSwiftVersionAtLeast(6) ||
56195619 Context.LangOpts.StrictConcurrencyLevel ==
56205620 StrictConcurrency::Complete)) {
You can’t perform that action at this time.
0 commit comments