Add regression test for fix for #4475
This commit is contained in:
parent
56015e52b9
commit
023f1da40a
1 changed files with 6 additions and 0 deletions
6
tests/overload/tissue4475.nim
Normal file
6
tests/overload/tissue4475.nim
Normal file
|
|
@ -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)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue