aboutsummaryrefslogtreecommitdiff
path: root/evaluator/evaluator.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <sokolyuk@gmail.com>2023-06-20 08:57:11 +0200
committerDimitri Sokolyuk <sokolyuk@gmail.com>2023-06-20 08:57:11 +0200
commit550aa0a288a00d820927a84b4f54a25f6c544643 (patch)
treea14763befcd3d535ce30657dfba8aaac1e6f5221 /evaluator/evaluator.go
parentc4503a4b5307d82bba3f51852784d57f8f25b488 (diff)
any
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...)}
}