summary refs log blame commit diff stats
path: root/nimsuggest/tests/tcon_variable.nim
blob: cfe93604f3e9cf0d87627a237a5da7ee65453f72 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                           
let foo = "string"
var bar = "string"
bar#[!]#.add foo
bar.add foo#[!]#

discard """
$nimsuggest --tester $file
>con $1
con;;skVar;;tcon_variable.bar;;string;;$file;;2;;4;;"";;100
>con $2
con;;skLet;;tcon_variable.foo;;string;;$file;;1;;4;;"";;100
"""