x/tools/gopls: Incorrect result of unsafe.Sizeof
for time.Time type.
#59757
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
gopls version
go env
What did you do?
Wrote small program and moused over the value of
a
:What did you expect to see?
constant evaluated to 24
What did you see instead?
constant evaluated to 0. In image below c also evaluates with the bug considered (evaluates to 8).
Editor and settings
VSCODE:
The text was updated successfully, but these errors were encountered: