import foo {.all.} reboot (#17706)
This commit is contained in:
parent
12783dbcf0
commit
8161b02897
38 changed files with 584 additions and 76 deletions
9
tests/importalls/mt5.nim
Normal file
9
tests/importalls/mt5.nim
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import ./m1 {.all.} as m2 except foo1
|
||||
doAssert foo2 == 2
|
||||
doAssert not compiles(foo1)
|
||||
doAssert m2.foo1 == 2
|
||||
doAssert compiles(m2.foo1)
|
||||
|
||||
from system {.all.} as s import ThisIsSystem
|
||||
doAssert ThisIsSystem
|
||||
doAssert s.ThisIsSystem
|
||||
Loading…
Add table
Add a link
Reference in a new issue