tfielduse.nim 121 B

12345678910
  1. # issue #24657
  2. proc g() {.error.} = discard
  3. type T = object
  4. g: int
  5. template B(): untyped = typeof(T.g)
  6. type _ = B()