This commit is contained in:
Andreas Rumpf 2016-07-19 20:19:52 +02:00
commit d4573f1762
2 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,18 @@
# bug #888
type
PyRef = object
PPyRef* = ref PyRef
converter to_py*(i: int) : PPyRef = nil
when false:
proc to_tuple*(vals: openarray[PPyRef]): PPyRef =
discard
proc abc(args: varargs[PPyRef]) =
#let args_tup = to_tuple(args)
discard
abc(1, 2)