Skip to content

Commit

Permalink
Fix a type typo
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Jun 18, 2024
1 parent f062e12 commit c03878c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/kong.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type_ref find_local_var_type(block *b, name_id name) {
for (size_t i = 0; i < b->vars.size; ++i) {
if (b->vars.v[i].name == name) {
debug_context context = {0};
check(b->vars.v[i].type.type != NO_TYPE, context, "Local var has not type");
check(b->vars.v[i].type.type != NO_TYPE, context, "Local var has no type");
return b->vars.v[i].type;
}
}
Expand Down

0 comments on commit c03878c

Please sign in to comment.