Throw an error when creating a DocumentURI from a URL with no scheme instead of hitting an assertion #1290
Labels
bug
Something isn't working
good first issue
Good for newcomers
refactoring
An internal refactoring of the codebase
We should throw an error from here instead of crashing sourcekit-lsp by hitting an assertion failure.
sourcekit-lsp/Sources/LanguageServerProtocol/SupportTypes/DocumentURI.swift
Line 75 in 4bff560
The text was updated successfully, but these errors were encountered: