This commit is contained in:
Andreas Rumpf 2016-08-23 01:29:30 +02:00
commit 55e86184a5
2 changed files with 15 additions and 6 deletions

View file

@ -0,0 +1,8 @@
# bug #4600
template foo(x: untyped): untyped = echo 1
template foo(x,y: untyped): untyped = echo 2
proc bar1[T](x: T) = foo(x)
proc bar2(x: float) = foo(x,x)
proc bar3[T](x: T) = foo(x,x)