(t testing.TB, env *Env, expr string)
| 4095 | } |
| 4096 | |
| 4097 | func compile(t testing.TB, env *Env, expr string) Program { |
| 4098 | t.Helper() |
| 4099 | prg, err := compileOrError(t, env, expr) |
| 4100 | if err != nil { |
| 4101 | t.Fatal(err) |
| 4102 | } |
| 4103 | return prg |
| 4104 | } |
| 4105 | |
| 4106 | func compileOrError(t testing.TB, env *Env, expr string) (Program, error) { |
| 4107 | t.Helper() |
no test coverage detected