This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
Outline should exclude _
"blank identifier"
#1889
Labels
_
"blank identifier"
#1889
We use
var _
in the top-level of some of our Go files for various reasons, most notably the "interface checks pattern" documented in Effective Go.These should be excluded from the Outline view since they don't represent a real variable that can be referenced and they clutter the output.
For example this code will produce 3 entries for
_
in the outline view:The text was updated successfully, but these errors were encountered: