-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gopls/internal/lsp/source: support hover over non-decimal int literals
As an alternative to golang/go#45802, support hovering over non-decimal literals rather than variables that were initialized with a non-decimal literal. Also fix a bug where '0X...' was not recognized as a valid hex literal. Fixes golang/go#58220 Change-Id: I50e6ccc23b3c7f8d8bfb5f66ddb2ec82f44ec5da Reviewed-on: https://go-review.googlesource.com/c/tools/+/482676 Run-TryBot: Robert Findley <[email protected]> gopls-CI: kokoro <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Alan Donovan <[email protected]>
- Loading branch information
Showing
2 changed files
with
76 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters