x/tools/gopls: report diagnostics for embed comment embed package imported #43497
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Projects
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Can be reproduce on gopls 0.6.1.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Try it with this code:
What did you expect to see?
Diagnostics should report as an error on line 7 (embed comment). Just like compiler report:
What did you see instead?
Diagnostics didn't report anything.
The text was updated successfully, but these errors were encountered: