mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-20 14:25:23 +00:00
fixes #22923
(cherry picked from commit 29ac3c9986)
This commit is contained in:
@@ -2829,4 +2829,5 @@ proc arrayWith*[T](y: T, size: static int): array[size, T] {.raises: [].} =
|
||||
when nimvm:
|
||||
result[i] = y
|
||||
else:
|
||||
result[i] = `=dup`(y)
|
||||
{.cast(raises: []).}: # TODO: fixme bug #23129
|
||||
result[i] = `=dup`(y)
|
||||
|
||||
Reference in New Issue
Block a user