diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2023-10-11 19:27:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-11 13:27:22 +0200 |
commit | 14d25eedfd5ada29fcd3690919e40623563b98fa (patch) | |
tree | 1473a130ee2a817c747ef9ab89c5ab07e0bed4d5 /lib/pure/collections/tables.nim | |
parent | 2cf214d6d46d11024e6420520e39eed779da284e (diff) | |
download | Nim-14d25eedfd5ada29fcd3690919e40623563b98fa.tar.gz |
suppress incorrect var T destructor warnings for newFinalizer in stdlib (#22810)
in `std/nre` ```nim proc initRegex(pattern: string, flags: int, study = true): Regex = new(result, destroyRegex) ``` gives incorrect warnings like ``` C:\Users\blue\Documents\Nim\lib\impure\nre.nim(252, 6) Error: A custom '=destroy' hook which takes a 'var T' parameter is deprecated; it should take a 'T' parameter [Deprecated ```
Diffstat (limited to 'lib/pure/collections/tables.nim')
0 files changed, 0 insertions, 0 deletions