summary refs log tree commit diff stats
path: root/tests/converter/tconverter_with_varargs.nim
blob: 6d7e31e8589fbf702906f02084692b9ed1a7c59c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)