func panicEvalError(n ast.Node, s string) { var loc *token.Location if n != nil { loc = n.Loc() } panic(NewEvalError(s, loc)) }