diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2021-10-14 14:11:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-14 21:11:59 +0000 |
commit | bf665976b1526ca7cf11bacf5745563dfe193206 (patch) | |
tree | a6bb2cf0fa5d1972fe55f872418665778e00dde5 /test/lit/nominal-func.wast | |
parent | d592bad2b8fa777dab9682d2d2e47f9957c8051d (diff) | |
download | binaryen-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-func.wast')
-rw-r--r-- | test/lit/nominal-func.wast | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lit/nominal-func.wast b/test/lit/nominal-func.wast index b5f266db3..08acae21d 100644 --- a/test/lit/nominal-func.wast +++ b/test/lit/nominal-func.wast @@ -6,7 +6,7 @@ ;; This will be the "canonical" function type rather than $foo_t (type $bad_t (func)) - ;; CHECK: (type $foo_t (func)) + ;; CHECK: (type $foo_t (func_subtype func)) (type $foo_t (func)) ;; CHECK: (func $foo |