blob: 369c0b3dd0779694f5755e58a30fe0bd0407b44a [file] [log] [blame]
This is a regression test for #66809 (missing modifiers for
declarations of function-type variables).
-- settings.json --
{
"semanticTokens": true
}
-- main.go --
package main
func main() {
foo := func(x string) string { return x } //@token("foo", "variable", "definition signature")
_ = foo //@token("foo", "variable", "signature")
foo("hello") //@token("foo", "variable", "signature")
}