Why this code produces a compiler warning: Warning: =destroy
(t.c) can raise an unlisted exception: Exception
#23667
Labels
=destroy
(t.c) can raise an unlisted exception: Exception
#23667
Description
https://play.nim-lang.org/#pasty=XdqZmWbb
What should I do to resolve the warning?
Nim Version
Nim Compiler Version 2.1.1 [Linux: amd64]
Compiled at 2024-05-30
Copyright (c) 2006-2024 by Andreas Rumpf
git hash: b172b34
active boot switches: -d:release
Current Output
Expected Output
Possible Solution
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: