go/src/cmd/compile/internal/types2/errorcalls_test.go

const errorfMinArgCount

const errorfFormatIndex

// TestErrorCalls makes sure that check.errorf calls have at least
// errorfMinArgCount arguments (otherwise we should use check.error)
// and use balanced parentheses/brackets.
func TestErrorCalls(t *testing.T) {}

func isName(n syntax.Node, name string) bool {}

func balancedParentheses(s string) bool {}