summaryrefslogtreecommitdiff
path: root/test/lit/nominal-named-field.wast
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2021-10-14 14:11:59 -0700
committerGitHub <noreply@github.com>2021-10-14 21:11:59 +0000
commitbf665976b1526ca7cf11bacf5745563dfe193206 (patch)
treea6bb2cf0fa5d1972fe55f872418665778e00dde5 /test/lit/nominal-named-field.wast
parentd592bad2b8fa777dab9682d2d2e47f9957c8051d (diff)
downloadbinaryen-bf665976b1526ca7cf11bacf5745563dfe193206.tar.gz
binaryen-bf665976b1526ca7cf11bacf5745563dfe193206.tar.bz2
binaryen-bf665976b1526ca7cf11bacf5745563dfe193206.zip
Switch from "extends" to M4 nominal syntax (#4248)
Switch from "extends" to M4 nominal syntax Change all test inputs from using the old (extends $super) syntax to using the new *_subtype syntax for their inputs and also update the printer to emit the new syntax. Add a new test explicitly testing the old notation to make sure it keeps working until we remove support for it.
Diffstat (limited to 'test/lit/nominal-named-field.wast')
-rw-r--r--test/lit/nominal-named-field.wast2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lit/nominal-named-field.wast b/test/lit/nominal-named-field.wast
index 5dd33d99e..3b827e11b 100644
--- a/test/lit/nominal-named-field.wast
+++ b/test/lit/nominal-named-field.wast
@@ -6,7 +6,7 @@
;; RUN: wasm-opt %s -all --nominal --roundtrip -S -o - | filecheck %s
(module
- ;; CHECK: (type $struct (struct (field (mut i32)) (field f32) (field $named f64)))
+ ;; CHECK: (type $struct (struct_subtype (field (mut i32)) (field f32) (field $named f64) data))
(type $struct (struct
(field (mut i32))
(field f32)