summary refs log blame commit diff stats
path: root/tests/overload/t7416.nim
blob: 4a9b2e7cb84369a27bb220f4503d79d2afdabd1a (plain) (tree)
1
2
3
4
5
6
7
8
9








                                   
type
  Foo[T] = object
  IntFoo = Foo[int]

proc bar(b: object|tuple) = discard
proc bar(b: IntFoo) = discard

var f: IntFoo
bar(f)