Improve default scope size

This commit is contained in:
gingerBill
2021-07-27 10:59:39 +01:00
parent ae25787f48
commit 116e98b378
6 changed files with 51 additions and 8 deletions

View File

@@ -1638,7 +1638,7 @@ bool check_builtin_procedure(CheckerContext *c, Operand *operand, Ast *call, i32
}
}
StringSet name_set = {};
string_set_init(&name_set, temporary_allocator(), 2*ce->args.count);
string_set_init(&name_set, heap_allocator(), 2*ce->args.count);
for_array(i, ce->args) {
String name = {};