summary refs log tree commit diff stats
path: root/tests/tools
Commit message (Collapse)AuthorAgeFilesLines
* make `proc` not implicitly convert to `pointer` with a preview define (#21953)metagn2023-05-301-1/+2
| | | | | | | | | * test `proc` not converting to `pointer` * ignore define for now to test * remove cstring * fixes, changelog
* fixes #19795; fixes #11852; fixes #19974; remove parsing pipeline, Nim now ↵ringabout2023-02-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parses the whole module at one time (#21379) * fixes #19795; remove parse pipeline * isScript * fixes nimscriptapi * don't touch reorder * check script * fixes tests * it seems implicit imports of system cause troubles * access the first child of `nkStmtList` * ignore comments * minor messages * perhaps increases hloLoopDetector * the module is a stmtList, which changes the errors * fixes nimdoc * fixes tlinter * fixes nim secret tests * fixes arc_misc * fixes nim secret tests again * safe; fixes one more test * GlobalError is the root cause too * fixes parsing errors * put emit types to the cfsForwardTypes section * fixes #11852; `{.push checks:off}` now works in procs * disable navigator * fixes nimdoc * add tests for JS * fixes nimsuggest
* fix #13790; ptr char (+friends) should not implicitly convert to cstring ↵ringabout2022-11-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#20761) * fix =#13790 ptr char (+friends) should not implicitly convert to cstring * Apply suggestions from code review * first round; compiles on windows * nimPreviewSlimSystem * conversion is unsafe, cast needed * fixes more tests * fixes asyncnet * another try another error * last one * true * one more * why bugs didn't show at once * add `nimPreviewCstringConversion` switch * typo Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com>
* fixes niminst with stricteffects; add testcase for niminst (#20587)ringabout2022-10-181-0/+5
| | | fixes niminst with stricteffects; add testcase
* make koch and tools work with `nimPreviewSlimSystem` (#20459)ringabout2022-09-303-1/+9
|
* nimgrep: add `--inContext` and `--notinContext` options (#19528)Andrey Makarov2022-09-141-0/+402
| | | | | | | | | | | | | | | | | | | | | | | | | | * nimgrep: add `--matchContext` and `--noMatchContext` options * Rename options for uniformity * Revise option names, add `--parentPath` options * Revert --bin deprecation * Copy-paste an original test from quantimnot The origin was: https://gist.githubusercontent.com/quantimnot/5d23b32fe0936ffc453220d20a87b9e2/raw/96544656d52332118295e55aa73718c389e5d194/tnimgrep.nim * Change ! to n * Attempt to fix test * Fix test on Windows * Change --contentsFile -> --inFile, add more tests * Bump * Change --parentPath to --dirpath
* change `--hint[X] => --hint:X` in nim repo (avoids shell quoting issues) ↵Timothee Cour2021-05-261-1/+1
| | | | (#18085)
* add astmsgs; add `declared in` msg for usage lint errors (#17961)Timothee Cour2021-05-081-4/+4
| | | | | | | | | * add astmsgs; add `declared in` msg for usage lint errors * fix test * fix tests/tools/tlinter.nim * std prefix
* close #14806 (#17626)flywind2021-04-034-0/+12
| | | | | * close #14806 * tiny
* new feature: --staticBoundChecks:on to enforce static array index checking ↵Andreas Rumpf2020-03-181-3/+3
| | | | (#10965)
* fixes #12885 [backport] (#12895)Andreas Rumpf2019-12-132-2/+14
|
* fixes #11903 (#11908)Arne Döring2019-08-311-0/+22
|
* fixes #12029; finish the 'unused import' feature (#12064)Andreas Rumpf2019-08-272-1/+4
|
* fixes #11809Andreas Rumpf2019-08-081-0/+27
|
* fixes linter regressionsAraq2019-07-101-2/+12
|
* nim styleChecker: implemented all the missing features (bugfix)Araq2019-07-101-0/+30