Fix "imported but not used" warnings (#20575)
This commit is contained in:
parent
0bacdf5fdf
commit
081dfea746
6 changed files with 7 additions and 7 deletions
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
import
|
import
|
||||||
intsets, options, ast, msgs, idents, renderer, types, magicsys,
|
intsets, options, ast, msgs, idents, renderer, types, magicsys,
|
||||||
sempass2, strutils, modulegraphs, lineinfos
|
sempass2, modulegraphs, lineinfos
|
||||||
|
|
||||||
when defined(nimPreviewSlimSystem):
|
when defined(nimPreviewSlimSystem):
|
||||||
import std/assertions
|
import std/assertions
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,6 @@ import
|
||||||
import packages/docutils/rstast except FileIndex, TLineInfo
|
import packages/docutils/rstast except FileIndex, TLineInfo
|
||||||
|
|
||||||
from uri import encodeUrl
|
from uri import encodeUrl
|
||||||
from std/private/globs import nativeToUnixPath
|
|
||||||
from nodejs import findNodeJs
|
from nodejs import findNodeJs
|
||||||
|
|
||||||
when defined(nimPreviewSlimSystem):
|
when defined(nimPreviewSlimSystem):
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
## represents a complete Nim project. Single modules can either be kept in RAM
|
## represents a complete Nim project. Single modules can either be kept in RAM
|
||||||
## or stored in a rod-file.
|
## or stored in a rod-file.
|
||||||
|
|
||||||
import intsets, tables, hashes, md5_old, sequtils
|
import intsets, tables, hashes, md5_old
|
||||||
import ast, astalgo, options, lineinfos,idents, btrees, ropes, msgs, pathutils, packages
|
import ast, astalgo, options, lineinfos,idents, btrees, ropes, msgs, pathutils, packages
|
||||||
import ic / [packed_ast, ic]
|
import ic / [packed_ast, ic]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
## Implements the module handling, including the caching of modules.
|
## Implements the module handling, including the caching of modules.
|
||||||
|
|
||||||
import
|
import
|
||||||
ast, astalgo, magicsys, msgs, options,
|
ast, magicsys, msgs, options,
|
||||||
idents, lexer, passes, syntaxes, llstream, modulegraphs,
|
idents, lexer, passes, syntaxes, llstream, modulegraphs,
|
||||||
lineinfos, pathutils, tables, packages
|
lineinfos, pathutils, tables, packages
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,10 @@ import
|
||||||
options, ast, llstream, msgs,
|
options, ast, llstream, msgs,
|
||||||
idents,
|
idents,
|
||||||
syntaxes, modulegraphs, reorder,
|
syntaxes, modulegraphs, reorder,
|
||||||
lineinfos, pathutils, std/sha1, packages
|
lineinfos, pathutils, packages
|
||||||
|
|
||||||
|
when defined(nimsuggest):
|
||||||
|
import std/sha1
|
||||||
|
|
||||||
when defined(nimPreviewSlimSystem):
|
when defined(nimPreviewSlimSystem):
|
||||||
import std/syncio
|
import std/syncio
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,6 @@
|
||||||
|
|
||||||
# Ropes for the C code generator. Ropes are mapped to `string` directly nowadays.
|
# Ropes for the C code generator. Ropes are mapped to `string` directly nowadays.
|
||||||
|
|
||||||
import hashes
|
|
||||||
|
|
||||||
from pathutils import AbsoluteFile
|
from pathutils import AbsoluteFile
|
||||||
|
|
||||||
when defined(nimPreviewSlimSystem):
|
when defined(nimPreviewSlimSystem):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue