From 023f1da40a1343dab0e3d8d2f1ef3bf08b55f91a Mon Sep 17 00:00:00 2001 From: Kier Davis Date: Mon, 11 Jul 2016 15:16:23 +0100 Subject: [PATCH] Add regression test for fix for #4475 --- tests/overload/tissue4475.nim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/overload/tissue4475.nim diff --git a/tests/overload/tissue4475.nim b/tests/overload/tissue4475.nim new file mode 100644 index 0000000000..34618cac57 --- /dev/null +++ b/tests/overload/tissue4475.nim @@ -0,0 +1,6 @@ +# Bug: https://github.com/nim-lang/Nim/issues/4475 +# Fix: https://github.com/nim-lang/Nim/pull/4477 + +proc test(x: varargs[string], y: int) = discard + +test(y = 1)