mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-14 19:27:58 +08:00
eval: s/Checker/Compiler/g
This commit is contained in:
parent
f690210088
commit
5d65bd6324
|
@ -130,7 +130,7 @@ func combineForm(n parse.Node, cmd valuesOp, tlist valuesOp, ports []portOp, a *
|
|||
v, ok1 := ev.scope["fn-"+cmdStr]
|
||||
fn, ok2 := (*v).(*Closure)
|
||||
if !(ok1 && ok2) {
|
||||
panic("Checker bug")
|
||||
panic("Compiler bug")
|
||||
}
|
||||
fm.Command.Closure = fn
|
||||
case commandClosure:
|
||||
|
@ -241,7 +241,7 @@ func makeVar(cp *Compiler, name string, fn *parse.FactorNode) valuesOp {
|
|||
f := func(ev *Evaluator) []Value {
|
||||
val, ok := ev.scope[name]
|
||||
if !ok {
|
||||
panic("Checker bug")
|
||||
panic("Compiler bug")
|
||||
}
|
||||
return []Value{*val}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user