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(
5611
5611
// we need to wait until the very last moment to strip
5612
5612
// the concurrency annotations from the inner most type.
5613
5613
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.
5618
5618
if (!(Context.isSwiftVersionAtLeast(6) ||
5619
5619
Context.LangOpts.StrictConcurrencyLevel ==
5620
5620
StrictConcurrency::Complete)) {
You can’t perform that action at this time.
0 commit comments