mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-05 03:17:50 +08:00
pkg/eval: Remove unused PurelyEvalCompound.
This commit is contained in:
parent
72d7c5c595
commit
9df62a6dc9
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user