summary refs log tree commit diff stats
path: root/tests/stylecheck
Commit message (Collapse)AuthorAgeFilesLines
* Fix some `styleCheck` bugs (#20095)quantimnot2023-05-064-0/+62
| | | | | | | | | | | refs #19822 Fixes these bugs: * Style check violations in generics defined in foreign packages are raised. * Builtin pragma usage style check violations in foreign packages are raised. * User pragma definition style check violations are not raised. Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
* tests/stylecheck: make sure necessary hints are enabled (#21240)Anna2023-03-013-8/+6
|
* fixes #20397; fixes stylecheck regression (#20398)ringabout2022-09-213-0/+19
| | | | | * fixes #20397; fixes stylecheck * add testcase
* closes #12955; add testcase (#20223)ringabout2022-08-152-0/+7
|
* fix stylecheck bug with nre (#19356)flywind2022-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * stylecheck usages part two: stdlib cleanup typeinfo.nim: importCompilerProc => importcompilerproc nre.nim: newLineFlags => newlineFlags system.nim: JSRoot => JsRoot ref #19319 * prefer importCompilerProc * fix stylecheck error with asyncdispatch it is a partial regression since #12842 * add tests * don't use echo in tests * fix stylecheck bug with nre * Update compiler/linter.nim * no need to check dotexpr again * neither did let/var/const
* fix stylecheck error with asyncdispatch (#19350)flywind2022-01-102-0/+34
| | | | | | | | | | | | | | | | | | | | | * stylecheck usages part two: stdlib cleanup typeinfo.nim: importCompilerProc => importcompilerproc nre.nim: newLineFlags => newlineFlags system.nim: JSRoot => JsRoot ref #19319 * prefer importCompilerProc * fix stylecheck error with asyncdispatch it is a partial regression since #12842 * add tests * don't use echo in tests
* fix #17960: honor `matrix` also for `action: compile, action: reject` (#17980)Timothee Cour2021-05-091-2/+2
| | | | * fix #17960: honor `matrix` for all action
* add astmsgs; add `declared in` msg for usage lint errors (#17961)Timothee Cour2021-05-081-4/+5
| | | | | | | | | * add astmsgs; add `declared in` msg for usage lint errors * fix test * fix tests/tools/tlinter.nim * std prefix
* fixes #15848 [backport:1.2] (#17959)Andreas Rumpf2021-05-071-0/+23