mt5.nim 226 B

12345678910
  1. import ./m1 {.all.} as m2 except foo1
  2. doAssert foo2 == 2
  3. doAssert not compiles(foo1)
  4. doAssert m2.foo1 == 2
  5. doAssert compiles(m2.foo1)
  6. from system {.all.} as s import ThisIsSystem
  7. doAssert ThisIsSystem
  8. doAssert s.ThisIsSystem