const go/types.IsConstType
5 uses
go/types (current package)
basic.go#L62: IsConstType = IsBoolean | IsNumeric | IsString
check.go#L454: assert(typ == Typ[Invalid] || allBasic(typ, IsConstType))
predicates.go#L23: func isConstType(t Type) bool { return isBasic(t, IsConstType) }
golang.org/x/tools/internal/gcimporter
iexport.go#L916: switch b := typ.Underlying().(*types.Basic); b.Info() & types.IsConstType {
iimport.go#L594: switch b := typ.Underlying().(*types.Basic); b.Info() & types.IsConstType {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)