feat: add typed ast and Hindley-Milner style semantic analysis

This commit is contained in:
2026-04-20 22:33:41 +02:00
parent 27d033135c
commit c3ee0d6e67
5 changed files with 699 additions and 3 deletions
+2 -2
View File
@@ -1,3 +1,3 @@
fn main() -> i32 {
return 0;
fn main() -> i8 {
return -1;
}