summaryrefslogtreecommitdiff
path: root/test/asset
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2026-08-26 20:56:55 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2026-08-27 23:04:38 +0200
commita9d6eacb3aaa0e7acc5abc931061e07549f1c20e (patch)
tree28f9b5eab2f6dbf3a1326e5f2196a9a6645887dd /test/asset
parentdbe93a84ba9b4d5c9aa5af2aecd5362f644c811d (diff)
Parse type annotations in expressions
Diffstat (limited to 'test/asset')
-rw-r--r--test/asset/parser/type-annotation.et6
1 files changed, 6 insertions, 0 deletions
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