Skip to content

Commit 2e27ff8

Browse files
authored
Merge pull request #82814 from DougGregor/region-inference-dynamic-isolated-conformances
[SE-0470] Extend region analysis to account for isolated conformances
2 parents 01c2600 + 62770ff commit 2e27ff8

File tree

6 files changed

+480
-27
lines changed

6 files changed

+480
-27
lines changed

include/swift/AST/DiagnosticsSema.def

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8681,6 +8681,9 @@ GROUPED_ERROR(isolated_conformance_wrong_domain,IsolatedConformances,none,
86818681
GROUPED_WARNING(isolated_conformance_will_become_nonisolated,IsolatedConformances,none,
86828682
"conformance of %0 to %1 should be marked 'nonisolated' to retain its behavior with upcoming feature 'InferIsolatedConformances'",
86838683
(const ValueDecl *, const ValueDecl *))
8684+
GROUPED_WARNING(isolated_conformance_to_sendable_metatype,IsolatedConformances,none,
8685+
"%0 conformance of %1 to SendableMetatype-inheriting %kind2 can never "
8686+
"be used with generic code", (ActorIsolation, Type, const ValueDecl *))
86848687
86858688
//===----------------------------------------------------------------------===//
86868689
// MARK: @_inheritActorContext

0 commit comments

Comments
 (0)