Browse Source

Fixed init() call

Dmitry Panov 9 years ago
parent
commit
693bee5dc3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      object_goslice_reflect.go

+ 1 - 1
object_goslice_reflect.go

@@ -11,7 +11,7 @@ type objectGoSliceReflect struct {
 }
 
 func (o *objectGoSliceReflect) init() {
-	o.baseObject.init()
+	o.objectGoReflect.init()
 	o.class = classArray
 	o.prototype = o.val.runtime.global.ArrayPrototype
 	o.lengthProp.writable = false