parent
17f08b2939
commit
3028c1be82
1 changed files with 9 additions and 0 deletions
9
tests/overload/t7416.nim
Normal file
9
tests/overload/t7416.nim
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
type
|
||||||
|
Foo[T] = object
|
||||||
|
IntFoo = Foo[int]
|
||||||
|
|
||||||
|
proc bar(b: object|tuple) = discard
|
||||||
|
proc bar(b: IntFoo) = discard
|
||||||
|
|
||||||
|
var f: IntFoo
|
||||||
|
bar(f)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue