Skip to content

Commit

Permalink
Fix copy-paste bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fitzgen committed Dec 4, 2024
1 parent 2b4087a commit f8b9750
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/core/gc/type-subtyping-invalid.wast
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
(module
;; When fields are const, a subtype's reference fields cannot be supertypes of
;; the supertype's fields, they must be subtypes.
(type $a (sub (struct (field (mut (ref null none))))))
(type $b (sub $a (struct (field (mut (ref null any))))))
(type $a (sub (struct (field (ref null none)))))
(type $b (sub $a (struct (field (ref null any)))))
)
"sub type 1 does not match super type"
)
Expand Down

0 comments on commit f8b9750

Please sign in to comment.