* fix #15405 * fix tests * deepcopy for ARC has to be enabled via --deepcopy:on Co-authored-by: Araq <rumpf_a@web.de>
This commit is contained in:
parent
3919f0aa54
commit
531ed2dc36
9 changed files with 52 additions and 5 deletions
|
|
@ -2895,6 +2895,9 @@ when hasAlloc and notJSnotNims:
|
|||
##
|
||||
## This is also used by the code generator
|
||||
## for the implementation of ``spawn``.
|
||||
##
|
||||
## For ``--gc:arc`` or ``--gc:orc`` deepcopy support has to be enabled
|
||||
## via ``--deepcopy:on``.
|
||||
discard
|
||||
|
||||
proc deepCopy*[T](y: T): T =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue