(t testing.TB, env *Env, expr string)
| 5210 | } |
| 5211 | |
| 5212 | func compile(t testing.TB, env *Env, expr string) Program { |
| 5213 | t.Helper() |
| 5214 | prg, err := compileOrError(t, env, expr) |
| 5215 | if err != nil { |
| 5216 | t.Fatal(err) |
| 5217 | } |
| 5218 | return prg |
| 5219 | } |
| 5220 | |
| 5221 | func compileOrError(t testing.TB, env *Env, expr string) (Program, error) { |
| 5222 | t.Helper() |
no test coverage detected