Fixed casting + grouping, resolved #67

This commit is contained in:
2023-07-31 16:17:33 +10:00
parent 35bfa1b9f1
commit 10dbe8f8f1
5 changed files with 40 additions and 24 deletions

View File

@@ -0,0 +1,11 @@
//test for casting + grouping, see #67
{
assert string(10 % 4) == "2", "basic group casting failed";
assert string 4 == "4", "Normal casting failed";
assert typeof string(10 % 4) == string, "group casting type failed";
}
print "All good";