pkg/eval: Remove unused PurelyEvalCompound.

This commit is contained in:
Qi Xiao 2020-09-04 22:15:15 +01:00
parent 72d7c5c595
commit 9df62a6dc9

View File

@ -10,10 +10,6 @@ import (
var ErrImpure = errors.New("expression is impure")
func PurelyEvalCompound(cn *parse.Compound) (string, error) {
return (*Evaler)(nil).PurelyEvalCompound(cn)
}
func (ev *Evaler) PurelyEvalCompound(cn *parse.Compound) (string, error) {
return ev.PurelyEvalPartialCompound(cn, -1)
}