func assert(p bool) { … }
type errorDesc …
type error_ …
func (check *Checker) newError(code Code) *error_ { … }
func (err *error_) addf(at poser, format string, args ...interface{ … }
func (err *error_) addAltDecl(obj Object) { … }
func (err *error_) empty() bool { … }
func (err *error_) pos() syntax.Pos { … }
func (err *error_) msg() string { … }
func (err *error_) report() { … }
func (check *Checker) handleError(index int, pos syntax.Pos, code Code, msg string, soft bool) { … }
const invalidArg …
const invalidOp …
type poser …
func (check *Checker) error(at poser, code Code, msg string) { … }
func (check *Checker) errorf(at poser, code Code, format string, args ...any) { … }
func (check *Checker) softErrorf(at poser, code Code, format string, args ...any) { … }
func (check *Checker) versionErrorf(at poser, v goVersion, format string, args ...any) { … }
func atPos(at poser) syntax.Pos { … }