tconverter_with_varargs.nim 264 B

12345678910111213141516171819
  1. # bug #888
  2. type
  3. PyRef = object
  4. PPyRef* = ref PyRef
  5. converter to_py*(i: int) : PPyRef = nil
  6. when false:
  7. proc to_tuple*(vals: openArray[PPyRef]): PPyRef =
  8. discard
  9. proc abc(args: varargs[PPyRef]) =
  10. #let args_tup = to_tuple(args)
  11. discard
  12. abc(1, 2)