tv3_globalSymbols.nim 557 B

123456789101112131415
  1. # Tests the order of the matches
  2. proc Btoken(): int = 5
  3. proc tokenA(): int = 5
  4. proc token(): int = 5
  5. proc BBtokenA(): int = 5
  6. discard """
  7. $nimsuggest --v3 --tester $file
  8. >globalSymbols token
  9. def skProc tv3_globalSymbols.token proc (): int{.noSideEffect, gcsafe.} $file 4 5 "" 100
  10. def skProc tv3_globalSymbols.tokenA proc (): int{.noSideEffect, gcsafe.} $file 3 5 "" 100
  11. def skProc tv3_globalSymbols.Btoken proc (): int{.noSideEffect, gcsafe.} $file 2 5 "" 100
  12. def skProc tv3_globalSymbols.BBtokenA proc (): int{.noSideEffect, gcsafe.} $file 5 5 "" 100
  13. """