speedcat/test_type_checker.cat
Slendi 7fe927a683 Add type checking for functions
Signed-off-by: Slendi <slendi@socopon.com>
2024-02-28 15:07:06 +02:00

10 lines
177 B
Plaintext

let asdf := 123.0
let poop :: 12 as f32 + 2.0 * asdf
\fn name {}
fn name(a b: i32) i32 { }
\fn name() {}
\fn name(param1 param2 param3: i32, param4: u32) u32 { }
name 123 456