summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/d5/tengo/objects/builtin_copy.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/d5/tengo/objects/builtin_copy.go')
-rw-r--r--vendor/github.com/d5/tengo/objects/builtin_copy.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/vendor/github.com/d5/tengo/objects/builtin_copy.go b/vendor/github.com/d5/tengo/objects/builtin_copy.go
deleted file mode 100644
index 4b254b2b..00000000
--- a/vendor/github.com/d5/tengo/objects/builtin_copy.go
+++ /dev/null
@@ -1,9 +0,0 @@
-package objects
-
-func builtinCopy(args ...Object) (Object, error) {
- if len(args) != 1 {
- return nil, ErrWrongNumArguments
- }
-
- return args[0].Copy(), nil
-}