diff options
Diffstat (limited to 'vendor/github.com/d5/tengo/v2/script.go')
-rw-r--r-- | vendor/github.com/d5/tengo/v2/script.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/d5/tengo/v2/script.go b/vendor/github.com/d5/tengo/v2/script.go index 82b02f52..4cca4d04 100644 --- a/vendor/github.com/d5/tengo/v2/script.go +++ b/vendor/github.com/d5/tengo/v2/script.go @@ -259,7 +259,7 @@ func (c *Compiled) Clone() *Compiled { // copy global objects for idx, g := range c.globals { if g != nil { - clone.globals[idx] = g + clone.globals[idx] = g.Copy() } } return clone |