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

Commit f8b9750

Browse files
committed
Fix copy-paste bug
1 parent 2b4087a commit f8b9750

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/core/gc/type-subtyping-invalid.wast

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
(module
1313
;; When fields are const, a subtype's reference fields cannot be supertypes of
1414
;; the supertype's fields, they must be subtypes.
15-
(type $a (sub (struct (field (mut (ref null none))))))
16-
(type $b (sub $a (struct (field (mut (ref null any))))))
15+
(type $a (sub (struct (field (ref null none)))))
16+
(type $b (sub $a (struct (field (ref null any)))))
1717
)
1818
"sub type 1 does not match super type"
1919
)

0 commit comments

Comments
 (0)