summaryrefslogtreecommitdiff
path: root/test/exception-handling.wast.fromBinary
diff options
context:
space:
mode:
authorFrank Emrich <git@emrich.io>2023-10-05 18:25:59 +0100
committerGitHub <noreply@github.com>2023-10-05 10:25:59 -0700
commit67804305e680ffcf6b3bbcb4b56a1c31c284c3d0 (patch)
tree463b61e61ecc7c0e914d6822cea4a079af9fd1db /test/exception-handling.wast.fromBinary
parent5597ad587857f5f20b23fbd45a94abd98deaf25c (diff)
downloadbinaryen-67804305e680ffcf6b3bbcb4b56a1c31c284c3d0.tar.gz
binaryen-67804305e680ffcf6b3bbcb4b56a1c31c284c3d0.tar.bz2
binaryen-67804305e680ffcf6b3bbcb4b56a1c31c284c3d0.zip
[typed-cont] Allow result types on tags (#5997)
This PR is part of a series that adds basic support for the typed continuations proposal. This PR relaxes the restriction that tags must not have results , only params. Tags with results must not be used for exception handling and are only allowed if the typed continuations feature is enabled. As a minor point, this PR also changes the printing of tags without params: To make the presentation consistent, (param) is omitted when printing a tag.
Diffstat (limited to 'test/exception-handling.wast.fromBinary')
-rw-r--r--test/exception-handling.wast.fromBinary2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/exception-handling.wast.fromBinary b/test/exception-handling.wast.fromBinary
index 44bd2e5c3..e9cfce409 100644
--- a/test/exception-handling.wast.fromBinary
+++ b/test/exception-handling.wast.fromBinary
@@ -8,7 +8,7 @@
(tag $e-i64 (param i64))
(tag $e-i32-i64 (param i32 i64))
(tag $e-eqref (param eqref))
- (tag $e-empty (param))
+ (tag $e-empty)
(func $foo (type $0)
(nop)
)