const go/types.Int
20 uses
go/types (current package)
basic.go#L15: Int
builtins.go#L229: check.recordBuiltinType(call.Fun, makeSig(Typ[Int], x.typ))
builtins.go#L233: x.typ = Typ[Int]
builtins.go#L377: check.recordBuiltinType(call.Fun, makeSig(Typ[Int], x.typ, y.typ))
builtins.go#L380: x.typ = Typ[Int]
expr.go#L298: case Int:
index.go#L382: check.convertUntyped(x, Typ[Int])
index.go#L401: if !representableConst(x.val, check, Typ[Int], &x.val) {
predicates.go#L457: return Typ[Int]
stmt.go#L944: return Typ[Int], universeRune // use 'rune' name
stmt.go#L947: return Typ[Int], typ.elem
stmt.go#L949: return Typ[Int], typ.elem
typexpr.go#L525: if representableConst(val, check, Typ[Int], nil) {
universe.go#L42: Int: {Int, IsInteger, "int"},
golang.org/x/exp/apidiff
compatibility.go#L86: {types.Int8, types.Int}: true,
compatibility.go#L89: {types.Int16, types.Int}: true,
compatibility.go#L91: {types.Int32, types.Int}: true,
compatibility.go#L93: {types.Int, types.Int64}: true,
golang.org/x/tools/internal/gcimporter
bimport.go#L1003: types.Typ[types.Int],