fix #18986; Import/except doesn't work on devel [backport: 1.6] (#19687)

* fix #18986; Import/except doesn't work on devel [backport: 1.6]

* add testcase
This commit is contained in:
flywind 2022-04-06 22:17:09 +08:00 • committed by GitHub
commit 5a995ffc53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,3 @@
import std/macros
converter Lit*(x: uint): NimNode = newLit(x)