Nim/tests/converter/tconverter_with_varargs.nim
flywind 9df195ef58
style usages part one (openarray => openArray) (#19321)
* style usages (openArray)

* revert doc changes
2022-01-04 13:29:50 +01: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)