aboutsummaryrefslogtreecommitdiff
path: root/evaluator/evaluator.go
diff options
context:
space:
mode:
Diffstat (limited to 'evaluator/evaluator.go')
-rw-r--r--evaluator/evaluator.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/evaluator/evaluator.go b/evaluator/evaluator.go
index e7b7193..c9d13d7 100644
--- a/evaluator/evaluator.go
+++ b/evaluator/evaluator.go
@@ -300,7 +300,7 @@ func isTruthy(obj object.Object) bool {
}
}
-func newError(format string, a ...interface{}) *object.Error {
+func newError(format string, a ...any) *object.Error {
return &object.Error{Message: fmt.Sprintf(format, a...)}
}