Skip to content
This repository was archived by the owner on Apr 30, 2019. It is now read-only.

Commit 2715fd2

Browse files
committed
Bug fix: Compile error on Wasm
1 parent 2cd5030 commit 2715fd2

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

js/js_wasm.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,6 @@ func ValueOf(x interface{}) Value {
7474
size = 4
7575
xh = (*reflect.SliceHeader)(unsafe.Pointer(&x))
7676
class = int32Array
77-
case []int64:
78-
size = 8
79-
xh = (*reflect.SliceHeader)(unsafe.Pointer(&x))
80-
class = int64Array
8177
case []uint16:
8278
size = 2
8379
xh = (*reflect.SliceHeader)(unsafe.Pointer(&x))
@@ -86,10 +82,6 @@ func ValueOf(x interface{}) Value {
8682
size = 4
8783
xh = (*reflect.SliceHeader)(unsafe.Pointer(&x))
8884
class = uint32Array
89-
case []uint64:
90-
size = 8
91-
xh = (*reflect.SliceHeader)(unsafe.Pointer(&x))
92-
class = uint64Array
9385
case []float32:
9486
size = 4
9587
xh = (*reflect.SliceHeader)(unsafe.Pointer(&x))

0 commit comments

Comments
 (0)