NimContracts icon indicating copy to clipboard operation
NimContracts copied to clipboard

Does not appear to build with Nim 1.4.2

Open esthermations opened this issue 4 years ago • 3 comments

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: '!'

esthermations avatar Feb 18 '21 10:02 esthermations

Can confirm, this is is still the case in Nim 1.4.8.

wizzardx avatar Aug 10 '21 12:08 wizzardx

@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...

Udiknedormin avatar Sep 03 '21 19:09 Udiknedormin

@esthermations @wizzardx Thank you for reporting this issue. It should work fine now, in 0.2.1.

Udiknedormin avatar Sep 03 '21 21:09 Udiknedormin