diff options
| author | gingerBill <bill@gingerbill.org> | 2021-07-27 10:59:39 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-07-27 10:59:39 +0100 |
| commit | 116e98b37891091841976d1c70ec1fb39c439d8a (patch) | |
| tree | 38be4a443bde7e40037c65a82cf08c5ab756f574 /src/check_builtin.cpp | |
| parent | ae25787f48f4190a90428228c22faf6ae22d7365 (diff) | |
Improve default scope size
Diffstat (limited to 'src/check_builtin.cpp')
| -rw-r--r-- | src/check_builtin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp index 73aa14c49..03ee6eb14 100644 --- a/src/check_builtin.cpp +++ b/src/check_builtin.cpp @@ -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 = {}; |