mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
13 lines
252 B
Nim
13 lines
252 B
Nim
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
|
|
"""
|