diff options
| author | gingerBill <bill@gingerbill.org> | 2024-07-14 12:39:30 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-07-14 12:39:30 +0100 |
| commit | 3dff83f3dc2914cdfb9a8f19cf990682cda41b03 (patch) | |
| tree | 216cbef3e900ba3d4291d7a49c03e61cf9b748ac /src/checker.cpp | |
| parent | 8642d719f0ece3625d535d47b41ff4d35072f47f (diff) | |
Mock out `#no_capture` for future use
Diffstat (limited to 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checker.cpp b/src/checker.cpp index abacc13cb..9adf4ef3c 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -184,7 +184,7 @@ gb_internal void init_decl_info(DeclInfo *d, Scope *scope, DeclInfo *parent) { ptr_set_init(&d->deps, 0); ptr_set_init(&d->type_info_deps, 0); d->labels.allocator = heap_allocator(); - d->no_captures.allocator = heap_allocator(); + d->variadic_reuses.allocator = heap_allocator(); } gb_internal DeclInfo *make_decl_info(Scope *scope, DeclInfo *parent) { |