Description
With the change in NativeSet.filter in #92337 sourckit-lsp mis-compiles the uris.filter statement in SwiftLanguageServices.documentDependenciesUpdated, but only on Windows.
Claude suggests that it's most likely a problem of inlining _UnsafeBitset._withTemporaryUninitializedBitset into an async function, because withUnsafeTemporaryAllocation allocs a dynamically sized area on the stack, which works differently on Windows.
Reproduction
Run Windows CI with the changes of #92337 (but excluding the workaround)
Expected behavior
sourcekit-lsp tests should pass and not crash
Environment
top-of-main swift compiler on Windows
Additional information
No response
Description
With the change in
NativeSet.filterin #92337 sourckit-lsp mis-compiles theuris.filterstatement inSwiftLanguageServices.documentDependenciesUpdated, but only on Windows.Claude suggests that it's most likely a problem of inlining
_UnsafeBitset._withTemporaryUninitializedBitsetinto an async function, becausewithUnsafeTemporaryAllocationallocs a dynamically sized area on the stack, which works differently on Windows.Reproduction
Run Windows CI with the changes of #92337 (but excluding the workaround)
Expected behavior
sourcekit-lsp tests should pass and not crash
Environment
top-of-main swift compiler on Windows
Additional information
No response