package reflect; fix substring type bug; fix scoping rules for using on procedure parameter

This commit is contained in:
gingerBill committed 2019-08-11 23:58:49 +01:00
1 parent b08aa857b3
commit 04036aba9c
5 files changed
+392 -58

No files matched your search

+1 -1
View File
@@ -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;