From 5d65bd63247eca04791486dbbc80333eb14af1fc Mon Sep 17 00:00:00 2001 From: Cheer Xiao Date: Wed, 16 Jul 2014 15:43:00 +0800 Subject: [PATCH] eval: s/Checker/Compiler/g --- eval/op.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eval/op.go b/eval/op.go index f8877a46..99ed4825 100644 --- a/eval/op.go +++ b/eval/op.go @@ -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} }