fixes #888
This commit is contained in:
parent
6905a6fae3
commit
d4573f1762
2 changed files with 20 additions and 1 deletions
18
tests/converter/tconverter_with_varargs.nim
Normal file
18
tests/converter/tconverter_with_varargs.nim
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue