type internal/types/errors.Code
21 uses
internal/types/errors (current package)
code_string.go#L178: func (i Code) String() string {
codes.go#L9: type Code int
codes.go#L38: InvalidSyntaxTree Code = -1
codes.go#L43: _ Code = iota
go/types
api.go#L57: go116code Code
builtins.go#L987: var code Code
const.go#L254: func (check *Checker) representation(x *operand, typ *Basic) (constant.Value, Code) {
const.go#L277: func (check *Checker) invalidConversion(code Code, x *operand, target Type) {
errors.go#L42: code Code
errors.go#L47: func (check *Checker) newError(code Code) *error_ {
errors.go#L156: func (check *Checker) handleError(index int, posn positioner, code Code, msg string, soft bool) {
errors.go#L234: func (check *Checker) error(at positioner, code Code, msg string) {
errors.go#L240: func (check *Checker) errorf(at positioner, code Code, format string, args ...any) {
errors.go#L246: func (check *Checker) softErrorf(at positioner, code Code, format string, args ...any) {
expr.go#L357: func (check *Checker) implicitTypeAndValue(x *operand, target Type) (Type, constant.Value, Code) {
expr.go#L1297: var code Code
index.go#L378: func (check *Checker) isValidIndex(x *operand, code Code, what string, allowNegative bool) bool {
labels.go#L27: var code Code
operand.go#L312: func (x *operand) assignableTo(check *Checker, T Type, cause *string) (bool, Code) {
stmt.go#L174: var code Code
stmt.go#L445: var code Code