nimsuggest: make 'con' work again

This commit is contained in:
Andreas Rumpf 2017-03-10 13:20:32 +01:00
commit c5566f7c37
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,13 @@
proc test(s: string; a: int) = discard
proc testB(a, b: string) = discard
test("hello here", #[!]#)
testB(#[!]#
discard """
$nimsuggest --tester $file
>con $1
con;;skProc;;tcon1.test;;proc (s: string, a: int);;$file;;1;;5;;"";;100
>con $2
con;;skProc;;tcon1.testB;;proc (a: string, b: string);;$file;;2;;5;;"";;100
"""