diff options
| author | Tetralux <tetraluxonpc@gmail.com> | 2023-05-12 23:04:25 +0000 |
|---|---|---|
| committer | Tetralux <tetraluxonpc@gmail.com> | 2023-05-12 23:05:28 +0000 |
| commit | 1c5ce75d9f6155c27739bc74a293f182298c3dca (patch) | |
| tree | 5e19411f858346826fa77ae70a99bde8592bdf94 /core/runtime | |
| parent | 023cc9ca541d7462a323147cbc056fe4303f299f (diff) | |
[runtime] Pass along #caller_location in append_nothing()
Diffstat (limited to 'core/runtime')
| -rw-r--r-- | core/runtime/core_builtin.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/runtime/core_builtin.odin b/core/runtime/core_builtin.odin index 4b152e7cc..bd919247e 100644 --- a/core/runtime/core_builtin.odin +++ b/core/runtime/core_builtin.odin @@ -401,7 +401,7 @@ append_nothing :: proc(array: ^$T/[dynamic]$E, loc := #caller_location) -> int { return 0 } prev_len := len(array) - resize(array, len(array)+1) + resize(array, len(array)+1, loc) return len(array)-prev_len } |