feat: type-check expressions and function calls

This commit is contained in:
2026-10-08 23:06:38 +02:00
parent cb3f187b54
commit bbf39c16c5
5 changed files with 1283 additions and 4 deletions
+10
View File
@@ -16,6 +16,16 @@ Code :: enum {
unexpected_token,
duplicate_name,
unknown_name,
expected_type,
type_not_value,
invalid_void_type,
type_mismatch,
invalid_operand,
integer_division,
not_callable,
argument_count_mismatch,
cannot_infer_type,
missing_return,
}
Diagnostic :: struct {