From 5d297dca547fdca2d525f251a27d0a94fc2c2674 Mon Sep 17 00:00:00 2001 From: Thomas Lively Date: Fri, 26 Jan 2024 10:33:40 -0800 Subject: Update the text syntax for tuple types (#6246) Instead of e.g. `(i32 i32)`, use `(tuple i32 i32)`. Having a keyword to introduce the s-expression is more consistent with the rest of the language. --- test/lit/basic/exception-handling-old.wast | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/lit/basic/exception-handling-old.wast') diff --git a/test/lit/basic/exception-handling-old.wast b/test/lit/basic/exception-handling-old.wast index 6fcb33ed4..086ff1484 100644 --- a/test/lit/basic/exception-handling-old.wast +++ b/test/lit/basic/exception-handling-old.wast @@ -105,7 +105,7 @@ ) ;; CHECK-TEXT: (func $try-catch-multivalue-tag (type $0) - ;; CHECK-TEXT-NEXT: (local $x (i32 i64)) + ;; CHECK-TEXT-NEXT: (local $x (tuple i32 i64)) ;; CHECK-TEXT-NEXT: (try $try ;; CHECK-TEXT-NEXT: (do ;; CHECK-TEXT-NEXT: (throw $e-i32-i64 @@ -128,7 +128,7 @@ ;; CHECK-BIN: (func $try-catch-multivalue-tag (type $0) ;; CHECK-BIN-NEXT: (local $x i32) ;; CHECK-BIN-NEXT: (local $1 i64) - ;; CHECK-BIN-NEXT: (local $2 (i32 i64)) + ;; CHECK-BIN-NEXT: (local $2 (tuple i32 i64)) ;; CHECK-BIN-NEXT: (local $3 i32) ;; CHECK-BIN-NEXT: (try $label$3 ;; CHECK-BIN-NEXT: (do @@ -162,7 +162,7 @@ ;; CHECK-BIN-NEXT: ) ;; CHECK-BIN-NEXT: ) ;; CHECK-BIN-NEXT: ) - (func $try-catch-multivalue-tag (local $x (i32 i64)) + (func $try-catch-multivalue-tag (local $x (tuple i32 i64)) (try (do (throw $e-i32-i64 (i32.const 0) (i64.const 0)) @@ -1376,7 +1376,7 @@ ;; CHECK-BIN-NODEBUG: (func $3 (type $0) ;; CHECK-BIN-NODEBUG-NEXT: (local $0 i32) ;; CHECK-BIN-NODEBUG-NEXT: (local $1 i64) -;; CHECK-BIN-NODEBUG-NEXT: (local $2 (i32 i64)) +;; CHECK-BIN-NODEBUG-NEXT: (local $2 (tuple i32 i64)) ;; CHECK-BIN-NODEBUG-NEXT: (local $3 i32) ;; CHECK-BIN-NODEBUG-NEXT: (try $label$3 ;; CHECK-BIN-NODEBUG-NEXT: (do -- cgit v1.2.3