type cast

This commit is contained in:
uan
2026-02-04 15:20:52 +01:00
parent 7eb9e021dd
commit 56d873d9d3
2 changed files with 46 additions and 13 deletions

View File

@@ -1,9 +1,2 @@
fn foo() int {
let y int = 2;
let z int = y*2;
return y;
}
fn bar() real {
return 5.5;
}
let a real = 5.1;
let x real = 7.0 + real(int(a) + int(7.0));