summary refs log tree commit diff stats
path: root/tests/stdlib/tstrutils.nim
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2023-06-21 14:51:03 +0800
committerGitHub <noreply@github.com>2023-06-21 08:51:03 +0200
commita345cde26e15ef8e1c905c48507195739fab4515 (patch)
tree400a569b50add80200b548739a0986291ccf64e4 /tests/stdlib/tstrutils.nim
parentdb41f04ab0734b0ac5267b46f306b0a311f7fc71 (diff)
downloadNim-a345cde26e15ef8e1c905c48507195739fab4515.tar.gz
allow destructors to accept non var parameters; deprecate `proc =destroy(x: var T)` (#22130)
* make destructors accept non var parameters
* define nimAllowNonVarDestructor
* add a test case and a changelog
* update documentation and error messages
* deprecate destructors taking 'var T'
Diffstat (limited to 'tests/stdlib/tstrutils.nim')
0 files changed, 0 insertions, 0 deletions