Alex Hoppen
Alex Hoppen
To reproduce run ``` UBSAN_OPTIONS=halt_on_error=true ~/swift-latest/usr/bin/swift test --sanitize=undefined --filter testBackgroundIndexingHappensWithLowPriority ``` Output ``` Test Case '-[SourceKitLSPTests.BackgroundIndexingTests testBackgroundIndexingHappensWithLowPriority]' started. /Users/alex/src/sourcekit-lsp/.command-line-build/checkouts/indexstore-db/lib/Database/lmdb/mdb.c:5916:14: runtime error: load of misaligned address 0x000109ddfffd for type 'unsigned short',...
Allocator.h:239:7: runtime error: null pointer returned from function declared to never return null
To reproduce run ``` UBSAN_OPTIONS=halt_on_error=true ~/swift-latest/usr/bin/swift test --sanitize=undefined --filter testObjectiveCTestsAfterInMemoryEdit ``` Output ``` Test Case '-[SourceKitLSPTests.DocumentTestDiscoveryTests testObjectiveCTestsAfterInMemoryEdit]' started. /Users/alex/src/sourcekit-lsp/.command-line-build/checkouts/indexstore-db/lib/LLVMSupport/include/llvm/Support/Allocator.h:239:7: runtime error: null pointer returned from function declared to never return...
Issue found by thread sanitizer: ```WARNING: ThreadSanitizer: thread leak (pid=31022) Thread T31 (tid=31250, finished) created by thread T7 at: #0 pthread_create ??:? (SourceKitLSPPackageTests.xctest+0x3da5c0) swiftlang/sourcekit-lsp#1 std::thread::_M_start_thread(std::unique_ptr, void (*)()) ??:? (libstdc++.so.6+0xd3320) (BuildId:...
When jumping to a generated interface, eg. by doing a jump-to-definition on any `import` statement, the following error is logged in the `SourceKit Language Service` log: ``` 2025-10-22 09:11:45.546 [warn]...
Preparing the `BuildServerIntegrationTests` target in the SourceKit-LSP target takes 42 seconds on my machine. When setting the module cache path to a module cache generated during a build, this time...
We currently index all products of a package’s dependencies. This matches the fact that you can build all all targets referenced by a dependency’s product on the command line (eg....
Implementing refactoring actions in swift-syntax instead of in sourcekitd makes them more robust and easier to maintain going forward. A full list of refactoring actions implemented in sourcekitd is at...
I recently cleaned up our issues to use the GitHub issue types *Bug*, *Feature*, and *Task* instead of the *bug* and *enhancement* labels. Reflect this in the issue forms.
The following new test case fails to rename `x` to `yyy` inside `runClosure` ```swift try await assertSingleFileRename( """ func runClosure(body: () -> Void) {} struct Foo { var 1️⃣x: Int...
We currently only show documentation that’s visible to the compiler and are ignoring information from [docc documentation extension files](https://www.swift.org/documentation/docc/adding-supplemental-content-to-a-documentation-catalog#Add-Extension-Files-to-Append-to-or-Override-Source-Documentation-Comments). It would be great if we could include that information as...