added support for floats

This commit is contained in:
Andrew Segavac
2021-05-29 10:50:15 -06:00
parent b8769f43e3
commit 374e080f26
4 changed files with 46 additions and 12 deletions

View File

@@ -1,5 +1,6 @@
fn add(a: I32, b: I32): I32 {
let foo = 4;
let test_float: F32 = 10.2;
a + b + foo
}