* fix #18986; Import/except doesn't work on devel [backport: 1.6] * add testcase
This commit is contained in:
parent
83dabb69ae
commit
5a995ffc53
3 changed files with 14 additions and 1 deletions
10
tests/converter/t18986.nim
Normal file
10
tests/converter/t18986.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
discard """
|
||||
output: "Found a 0"
|
||||
"""
|
||||
|
||||
import m18986 except Lit
|
||||
import std/macros
|
||||
|
||||
# bug #18986
|
||||
var x = 0.uint
|
||||
echo "Found a ", x
|
||||
Loading…
Add table
Add a link
Reference in a new issue