move all panics into expr.go.