mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-06 21:06:18 -04:00
package reflect; fix substring type bug; fix scoping rules for using on procedure parameter
This commit is contained in:
1 parent
b08aa857b3
commit
04036aba9c
5 files changed
+392
-58
No files matched your search
+1
-1
@@ -7164,7 +7164,7 @@ ExprKind check_expr_base_internal(CheckerContext *c, Operand *o, Ast *node, Type
|
||||
if (o->mode == Addressing_Constant) {
|
||||
max_count = o->value.value_string.len;
|
||||
}
|
||||
o->type = t_string;
|
||||
o->type = type_deref(o->type);
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user