mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-29 09:24:33 +00:00
Correct check_transmute operand logic
This commit is contained in:
@@ -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