import foo {.all.} reboot (#17706)
This commit is contained in:
parent
12783dbcf0
commit
8161b02897
38 changed files with 584 additions and 76 deletions
12
tests/importalls/mt9.nim
Normal file
12
tests/importalls/mt9.nim
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# tests re-export of a module with import {.all.}
|
||||
|
||||
import ./m4
|
||||
|
||||
doAssert m3p1 == 2
|
||||
doAssert not declared(m3h2)
|
||||
doAssert m3h3 == 3
|
||||
doAssert m3h4 == 4
|
||||
|
||||
doAssert bar1 == 2
|
||||
doAssert bar2 == 2
|
||||
doAssert not declared(bar3)
|
||||
Loading…
Add table
Add a link
Reference in a new issue