import foo {.all.} reboot (#17706)

This commit is contained in:
Timothee Cour 2021-04-16 00:16:39 -07:00 • committed by GitHub
commit 8161b02897
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 584 additions and 76 deletions

12
tests/importalls/mt9.nim Normal file
View 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)