mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
43bf55cb19
Introduce two new diagnostic groups: RegionIsolationCrossIsolationDataRace and RegionIsolationUnknownPattern, both linked as children of the existing RegionIsolation group. This converts the merge-region-failure errors and the unknown-pattern error from plain ERROR to GROUPED_ERROR, which allows users to selectively downgrade these diagnostics (e.g. the unknown pattern error can be downgraded since it represents a compiler limitation rather than a definite user error). Add user-facing documentation for both groups explaining what triggers the diagnostics and how to resolve them. rdar://175771878
506 B
506 B
Unknown region isolation pattern (RegionIsolationUnknownPattern)
Overview
This diagnostic indicates that the region-based isolation checker has detected an isolation error but the compiler does not currently know how to emit a descriptive diagnostic for the detected pattern. This is a compiler bug. If you encounter this diagnostic, please file a bug report at https://github.com/swiftlang/swift/issues with a minimal example that reproduces the issue.