Skip to content

Commit 83b302a

Browse files
committed
clean
1 parent de3bc88 commit 83b302a

5 files changed

Lines changed: 1 addition & 9 deletions

File tree

test/js_wasm/js_interop_cases.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// exhaustive.mjs
2-
31
let protoFactory = new Proxy({}, {
42
get(target, prop, receiver) {
53
// Always return a fresh, empty object.

test/js_wasm/js_interop_corners.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// interop_extra.mjs
2-
31
let protoFactory = new Proxy({}, {
42
get(target, prop, receiver) {
53
// Always return a fresh, empty object.

test/js_wasm/js_interop_corners.wat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
(type $Default.desc (sub (describes $Default) (struct (field (ref extern)))))
3030
)
3131

32-
;; Non-recursive types should be outside the rec group for builtin compatibility
3332
(type $exact_f_t (func (param i32) (result i32)))
3433
(type $newB_t (func (param i32 i32) (result (ref $B))))
3534
(type $newC_t (func (param i32 i32 i32) (result (ref $C))))
@@ -159,6 +158,7 @@
159158
(func (export "get_B_vtable") (result (ref (exact $B.desc))) (global.get $B.vtable))
160159

161160
(global $Default.vtable (ref (exact $Default.desc)) (struct.new $Default.desc (global.get $A.proto)))
161+
162162
(func (export "newDefault") (result (ref $Default))
163163
(struct.new_default_desc $Default (global.get $Default.vtable))
164164
)

test/js_wasm/js_interop_counter.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// https://github.com/WebAssembly/custom-descriptors/blob/main/proposals/custom-descriptors/Overview.md
22

3-
// counter.mjs
4-
53
let protoFactory = new Proxy({}, {
64
get(target, prop, receiver) {
75
// Always return a fresh, empty object.

test/js_wasm/js_interop_counter.wat

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
;; https://github.com/WebAssembly/custom-descriptors/blob/main/proposals/custom-descriptors/Overview.md
22

3-
;; counter.wasm
4-
53
(module
64
(rec
75
(type $counter (descriptor $counter.vtable) (struct (field $val (mut i32))))

0 commit comments

Comments
 (0)