switched typeof for oftype, switched typeas for astype

This commit is contained in:
2022-09-07 14:47:57 +01:00
parent 6c71a16e3e
commit 4137b7f057
10 changed files with 28 additions and 28 deletions

View File

@@ -32,7 +32,7 @@
assert func() == 69, "import/export of functions failed";
}
//test that variables retain their types with the typeof keyword
//test that variables retain their types with the oftype keyword
{
var t: type = int;
@@ -42,7 +42,7 @@
{
import t;
assert typeof t == type, "type retention failed";
assert oftype t == type, "type retention failed";
}
print "All good";