fix stylecheck bug with nre (#19356)
* 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
This commit is contained in:
parent
e78ef57c93
commit
00775f6880
2 changed files with 7 additions and 4 deletions
|
|
@ -2,7 +2,7 @@ discard """
|
|||
matrix: "--styleCheck:error --styleCheck:usages"
|
||||
"""
|
||||
|
||||
import asyncdispatch
|
||||
import std/[asyncdispatch, nre]
|
||||
|
||||
type
|
||||
Name = object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue