Added mustfail test, fixed compound type decl bug

This commit is contained in:
2023-01-08 12:43:25 +00:00
parent 584fb115b6
commit 8009f410a4
5 changed files with 200 additions and 13 deletions

View File

@@ -0,0 +1,7 @@
{
var t = astype [int];
var arr: t = [1, 2, 3.14];
}
print "All good";

View File

@@ -0,0 +1,7 @@
{
var t = astype [string:int];
var dict: t = ["one": 1, "two": 2, "pi": 3.14];
}
print "All good";