From 0905fe68591a3dad83f87d5ac805b674c0b88c76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Fri, 1 May 2026 20:25:20 +0200 Subject: Arbitrary type expression as function arguments --- test/asset/parser/function.et | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/asset/parser') diff --git a/test/asset/parser/function.et b/test/asset/parser/function.et index 3eca414..2a096b9 100644 --- a/test/asset/parser/function.et +++ b/test/asset/parser/function.et @@ -4,6 +4,12 @@ def g (x) and y = (x + (y+1)) test Test: guard (1 == 1) + guard (1 /= 2) + let x = 2 + guard (x == x) + guard (x /= 1) + guard (x /= x + 1) + guard (f 1 and 2 == 4) guard (f 1 and 2 == g 1 and 2) guard (f 1 and (g 2 and 3) == g 1 and 2 + 4) -- cgit v1.2.3