summary refs log tree commit diff stats
path: root/lib/pure/collections/tables.nim
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2023-10-11 19:27:22 +0800
committerGitHub <noreply@github.com>2023-10-11 13:27:22 +0200
commit14d25eedfd5ada29fcd3690919e40623563b98fa (patch)
tree1473a130ee2a817c747ef9ab89c5ab07e0bed4d5 /lib/pure/collections/tables.nim
parent2cf214d6d46d11024e6420520e39eed779da284e (diff)
downloadNim-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