(t testing.TB, env *Env, expr string)
| 4444 | } |
| 4445 | |
| 4446 | func compile(t testing.TB, env *Env, expr string) Program { |
| 4447 | t.Helper() |
| 4448 | prg, err := compileOrError(t, env, expr) |
| 4449 | if err != nil { |
| 4450 | t.Fatal(err) |
| 4451 | } |
| 4452 | return prg |
| 4453 | } |
| 4454 | |
| 4455 | func compileOrError(t testing.TB, env *Env, expr string) (Program, error) { |
| 4456 | t.Helper() |
no test coverage detected