mt0.nim 175 B

12345678910
  1. import ./m1 as m
  2. doAssert compiles(foo0)
  3. doAssert not compiles(foo1)
  4. doAssert foo6b() == 2
  5. doAssert m3h2 == 2
  6. var f = initFoo5(z3=3)
  7. doAssert f.z3 == 30
  8. doAssert z3(f) == 30