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/unit/test_poppy_validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/unit/test_poppy_validation.py') diff --git a/test/unit/test_poppy_validation.py b/test/unit/test_poppy_validation.py index ed88b11e4..a1a3a9c8d 100644 --- a/test/unit/test_poppy_validation.py +++ b/test/unit/test_poppy_validation.py @@ -59,7 +59,7 @@ class PoppyValidationTest(utils.BinaryenTestCase): ) ''' self.check_invalid(module, "block element has incompatible type") - self.check_invalid(module, "required: (i32 i32), available: (f32 i32)") + self.check_invalid(module, "required: (tuple i32 i32), available: (tuple f32 i32)") def test_incorrect_pop_type(self): module = ''' -- cgit v1.2.3