Skip to content

Commit 8c0a18d

Browse files
committed
[Concurrency] Always downgrade concurrent_access_of_local_capture to a
warning until Swift 6.
1 parent 991a6de commit 8c0a18d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/TypeCheckConcurrency.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3586,7 +3586,7 @@ namespace {
35863586
loc, diag::concurrent_access_of_local_capture,
35873587
parent.dyn_cast<LoadExpr *>(),
35883588
var)
3589-
.warnUntilSwiftVersionIf(preconcurrencyContext, 6);
3589+
.warnUntilSwiftVersion(6);
35903590
return true;
35913591
}
35923592

0 commit comments

Comments
 (0)