(t testing.TB, env *Env, expr string)
| 3989 | } |
| 3990 | |
| 3991 | func compile(t testing.TB, env *Env, expr string) Program { |
| 3992 | t.Helper() |
| 3993 | prg, err := compileOrError(t, env, expr) |
| 3994 | if err != nil { |
| 3995 | t.Fatal(err) |
| 3996 | } |
| 3997 | return prg |
| 3998 | } |
| 3999 | |
| 4000 | func compileOrError(t testing.TB, env *Env, expr string) (Program, error) { |
| 4001 | t.Helper() |
no test coverage detected