mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-08 03:24:19 +00:00
for in string16; Support string16 across core
This commit is contained in:
@@ -7179,7 +7179,11 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As
|
||||
return false;
|
||||
}
|
||||
operand->mode = Addressing_Value;
|
||||
operand->type = alloc_type_multi_pointer(t_u16);
|
||||
if (type_hint != nullptr && is_type_cstring16(type_hint)) {
|
||||
operand->type = type_hint;
|
||||
} else {
|
||||
operand->type = alloc_type_multi_pointer(t_u16);
|
||||
}
|
||||
operand->value = {};
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user