reduce compiler warnings

This commit is contained in:
jangko 2023-02-23 12:08:51 +07:00
parent fd173fdff8
commit 169ad82cea
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,10 @@
## those terms.
##
{.push raises: [Defect].}
when (NimMajor, NimMinor) < (1, 4):
{.push raises: [Defect].}
else:
{.push raises: [].}
import
strformat, typetraits,