mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-06 06:38:20 +00:00
Fix append_fixed_capacity_elems
This commit is contained in:
@@ -883,7 +883,7 @@ append_fixed_capacity_elems :: proc "contextless" (array: ^$T/[dynamic; $N]$E, #
|
||||
|
||||
when size_of(E) != 0 {
|
||||
for i in 0..<n {
|
||||
#no_bounds_check raw.data[i] = args[i]
|
||||
#no_bounds_check raw.data[raw.len + i] = args[i]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user