tcon_variable.nim 252 B

12345678910111213
  1. let foo = "string"
  2. var bar = "string"
  3. bar#[!]#.add foo
  4. bar.add foo#[!]#
  5. discard """
  6. $nimsuggest --tester $file
  7. >con $1
  8. con;;skVar;;tcon_variable.bar;;string;;$file;;2;;4;;"";;100
  9. >con $2
  10. con;;skLet;;tcon_variable.foo;;string;;$file;;1;;4;;"";;100
  11. """