t7416.nim 131 B

123456789
  1. type
  2. Foo[T] = object
  3. IntFoo = Foo[int]
  4. proc bar(b: object|tuple) = discard
  5. proc bar(b: IntFoo) = discard
  6. var f: IntFoo
  7. bar(f)