tisexported.nim 172 B

1234567891011
  1. import macros
  2. proc t1* = discard
  3. proc t2 = discard
  4. macro check(p1: typed, p2: typed) =
  5. doAssert isExported(p1) == true
  6. doAssert isExported(p2) == false
  7. check t1, t2