mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Since the only user of `@_compilerInitialized` is distributed actors, I decided to make DI's diagnostics saying that such a var was not initialized a second-tier note. If there is some other var associated with the same Memory that is _not_ compiler initialized AND is also _not_ initialized, then we suppress the suggestion to initialize the @_compilerInitialized thing, because something else is problematic. Only when there are @_compilerInitialized things that are still not initialized, do we emit a note talking about that.
1.7 KiB
1.7 KiB