From a9d6eacb3aaa0e7acc5abc931061e07549f1c20e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Wed, 26 Aug 2026 20:56:55 +0200 Subject: Parse type annotations in expressions --- test/asset/parser/type-annotation.et | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/asset/parser/type-annotation.et (limited to 'test/asset/parser') diff --git a/test/asset/parser/type-annotation.et b/test/asset/parser/type-annotation.et new file mode 100644 index 0000000..5fbf323 --- /dev/null +++ b/test/asset/parser/type-annotation.et @@ -0,0 +1,6 @@ +def fun (a) and b: + let c = [ a : String, "x" ] + let d = [ b : String, "y" : String ] + +test Test: + let x = "" : String -- cgit v1.2.3