mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-19 15:31:28 +00:00
remove unnecessary workaround from arrayWith (#23208)
The problem was fixed by https://github.com/nim-lang/Nim/pull/23195
This commit is contained in:
@@ -2926,5 +2926,4 @@ proc arrayWith*[T](y: T, size: static int): array[size, T] {.raises: [].} =
|
||||
when nimvm:
|
||||
result[i] = y
|
||||
else:
|
||||
{.cast(raises: []).}: # TODO: fixme bug #23129
|
||||
result[i] = `=dup`(y)
|
||||
result[i] = `=dup`(y)
|
||||
|
||||
Reference in New Issue
Block a user