3f55a6b5b0
Implement module imports
9 lines
158 B
Go
9 lines
158 B
Go
package objects
|
|
|
|
func builtinCopy(args ...Object) (Object, error) {
|
|
if len(args) != 1 {
|
|
return nil, ErrWrongNumArguments
|
|
}
|
|
|
|
return args[0].Copy(), nil
|
|
}
|