diff --git a/compiler/bytecode.go b/compiler/bytecode.go index 9d13d0b..6e87585 100644 --- a/compiler/bytecode.go +++ b/compiler/bytecode.go @@ -42,11 +42,12 @@ func init() { gob.Register(&objects.Bool{}) gob.Register(&objects.Char{}) gob.Register(&objects.Array{}) + gob.Register(&objects.ImmutableArray{}) gob.Register(&objects.Map{}) + gob.Register(&objects.ImmutableMap{}) gob.Register(&objects.CompiledFunction{}) gob.Register(&objects.Undefined{}) gob.Register(&objects.Error{}) - gob.Register(&objects.ImmutableMap{}) gob.Register(&objects.Bytes{}) gob.Register(&objects.StringIterator{}) gob.Register(&objects.MapIterator{})