mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-15 23:54:07 +00:00
[runtime] Pass along #caller_location in append_nothing()
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user