feat: type-check expressions and function calls
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user