mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-29 01:14:40 +00:00
v0.6.2; Use Ada_Case for types
This commit is contained in:
@@ -8136,7 +8136,9 @@ ExprKind check_expr_base_internal(Checker *c, Operand *o, AstNode *node, Type *t
|
||||
o->type = t->Pointer.elem;
|
||||
} else {
|
||||
gbString str = expr_to_string(o->expr);
|
||||
error(o->expr, "Cannot dereference `%s`", str);
|
||||
gbString typ = type_to_string(o->type);
|
||||
error(o->expr, "Cannot dereference `%s` of type `%s`", str, typ);
|
||||
gb_string_free(typ);
|
||||
gb_string_free(str);
|
||||
o->mode = Addressing_Invalid;
|
||||
o->expr = node;
|
||||
|
||||
Reference in New Issue
Block a user