mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 09:54:45 +00:00
Fix len of type bug
This commit is contained in:
@@ -4021,6 +4021,9 @@ bool check_builtin_procedure(CheckerContext *c, Operand *operand, Ast *call, i32
|
||||
mode = Addressing_Value;
|
||||
}
|
||||
}
|
||||
if (operand->mode == Addressing_Type && mode != Addressing_Constant) {
|
||||
mode = Addressing_Invalid;
|
||||
}
|
||||
|
||||
if (mode == Addressing_Invalid) {
|
||||
gbString t = type_to_string(operand->type);
|
||||
|
||||
Reference in New Issue
Block a user