SourceKit error: Cannot use metatype of type 'RCC.AHB1ENR.ReadWrite' in embedded Swift
mkbrwr opened this issue · 3 comments
mkbrwr commented
kubamracek commented
This is a false positive diagnostic coming from SourceKit, which is not present in regular builds, because regular builds have WMO (as required by Embedded Swift), but SourceKit sidesteps that and runs PerfDiags without WMO.
kubamracek commented
I think this should address it: swiftlang/swift#75308
kubamracek commented
Tried the latest downloadable toolchain and verified this is fixed now.