mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
15 lines
173 B
Plaintext
15 lines
173 B
Plaintext
|
|
|
|
|
|
|
|
var t: type = astype [int];
|
|
var u: type = astype [t];
|
|
|
|
var a: u;
|
|
|
|
t = astype [float]; //redefnition
|
|
|
|
var b: u;
|
|
|
|
print typeof a; //<[<int>]>
|
|
print typeof b; //<[<float>]> |