mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
69b6c8cc9e
Fixes rdar://89864078, by checking if all the required vars are immutable, and suggesting mutable variables be converted to immutable to become nonisolated and presumably fix the isolation issue. Also suggests 'nonisolated' on var decls without storage or wrapper. Additionally, converts existing 'nonisolated' for method suggestion to emit per-method instead of a top level 'all', for consistency with the new diagnostic, based on PR feedback.