NimContracts
NimContracts copied to clipboard
Does not appear to build with Nim 1.4.2
Trying to run nimble test
(or build a project with this as a dependency) I get a number of deprecation warnings and then this error:
\contracts\declarations\keywords.nim(61, 3) Error: undeclared identifier: '!'
Can confirm, this is is still the case in Nim 1.4.8.
@esthermations You're right. To be honest, I kinda forgot about this project. ^^"
I can see !
has since been deprecated since 0.18.x and then completely removed, alongside NimIdent
, so switching to ident
and NimNode
should be enough to fix it, I guess...
@esthermations @wizzardx Thank you for reporting this issue. It should work fine now, in 0.2.1.