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

@@ -2,14 +2,14 @@
var t: type = typeas [int];
var u: type = typeas [t];
var t: type = astype [int];
var u: type = astype [t];
var a: u;
t = typeas [float]; //redefnition
t = astype [float]; //redefnition
var b: u;
print typeof a; //<[<int>]>
print typeof b; //<[<float>]>
print oftype a; //<[<int>]>
print oftype b; //<[<float>]>