summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--lib/system.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 38e372897..0602d8fa4 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -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)