start implementing typechecking

This commit is contained in:
2026-03-17 14:55:07 +01:00
parent 69c254382d
commit 13fa93c611
3 changed files with 213 additions and 49 deletions

View File

@@ -52,7 +52,7 @@ fn compile_file_to(
}
for stmt in &statements {
typechecker.typecheck_stmt(stmt)?;
typechecker.typecheck_stmt(&mut typechecker::Env::new(), stmt)?;
}
for stmt in statements {