Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/lsp/cache: add missing error checks
I wrote this code as if there was going to be a final error check after all the type checking attempts, but ended up using the result inside the attempts, errors would likely have resulted in panics. Just do normal, non-clever error checking. Change-Id: I665f34f7e6d1a2c3465543cbdc39a723a22a1095 Reviewed-on: https://go-review.googlesource.com/c/tools/+/319371 Trust: Heschi Kreinick <[email protected]> Run-TryBot: Heschi Kreinick <[email protected]> gopls-CI: kokoro <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Rebecca Stambler <[email protected]>
- Loading branch information