mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-11 07:17:48 -04:00
Correct check_transmute operand logic
This commit is contained in:
1 parent
d9f293b281
commit
084f431aa5
1 file changed
+2
@@ -2844,8 +2844,10 @@ bool check_transmute(CheckerContext *c, Ast *node, Operand *o, Type *t) {
|
||||
}
|
||||
}
|
||||
|
||||
o->expr = node;
|
||||
o->mode = Addressing_Value;
|
||||
o->type = t;
|
||||
o->value = {};
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user