mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
dash
This commit is contained in:
+2
-2
@@ -1175,13 +1175,13 @@ gb_internal void check_assignment(CheckerContext *c, Operand *operand, Type *typ
|
|||||||
case Addressing_Type:
|
case Addressing_Type:
|
||||||
if (is_type_polymorphic(operand->type)) {
|
if (is_type_polymorphic(operand->type)) {
|
||||||
error(operand->expr,
|
error(operand->expr,
|
||||||
"Cannot assign '%s' — a polymorphic type — to %.*s%.*s",
|
"Cannot assign '%s' - a polymorphic type - to %.*s%.*s",
|
||||||
op_type_str,
|
op_type_str,
|
||||||
LIT(article),
|
LIT(article),
|
||||||
LIT(context_name));
|
LIT(context_name));
|
||||||
} else {
|
} else {
|
||||||
error(operand->expr,
|
error(operand->expr,
|
||||||
"Cannot assign '%s' — a type — to %.*s%.*s",
|
"Cannot assign '%s' - a type - to %.*s%.*s",
|
||||||
op_type_str,
|
op_type_str,
|
||||||
LIT(article),
|
LIT(article),
|
||||||
LIT(context_name));
|
LIT(context_name));
|
||||||
|
|||||||
Reference in New Issue
Block a user