Nim/tests/converter/tconverter_with_varargs.nim
Andreas Rumpf d4573f1762 fixes #888
2016-07-19 20:19:52 +02:00

18 lines
264 B
Nim

# 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)