implements varargs[untyped]; refs #2545; to be documented
This commit is contained in:
parent
de5113805a
commit
cabbcd411d
11 changed files with 75 additions and 37 deletions
|
|
@ -1,7 +1,7 @@
|
|||
discard """
|
||||
exitcode: 0
|
||||
"""
|
||||
import mgenericprocmatcher
|
||||
import moverloading_typedesc
|
||||
import tables
|
||||
|
||||
type
|
||||
|
|
@ -10,7 +10,7 @@ type
|
|||
|
||||
|
||||
when isMainModule:
|
||||
doAssert FBar.new() == 3
|
||||
# doAssert FBar.new() == 3
|
||||
|
||||
proc new(_: typedesc[LFoo]): int = 0
|
||||
proc new[T](_: typedesc[T]): int = 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue