This commit is contained in:
Andreas Rumpf 2016-07-19 19:27:38 +02:00
commit dc4b2c920c
2 changed files with 15 additions and 1 deletions

View file

@ -0,0 +1,11 @@
# bug #4328
type
foo[T] = object
z: T
proc test[T](x: foo[T], p: proc(a: T) = nil) =
discard
var d: foo[int]
d.test() # <- param omitted