This test checks semanticTokens on builtin constants.
(test for #70219.)
-- settings.json --
{
"semanticTokens": true
}
-- flags --
-ignore_extra_diags
-- default_lib_const.go --
package p
func _() {
a, b := false, true //@ token("false", "variable", "readonly defaultLibrary"), token("true", "variable", "readonly defaultLibrary")
}
const (
c = iota //@ token("iota", "variable", "readonly defaultLibrary number")
)