Merge pull request #12613 from nim-lang/miran-unused-imports

Remove unused imports
This commit is contained in:
Dominik Picheta 2019-11-06 22:08:43 +00:00 • committed by GitHub
commit 675189c77f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 22 additions and 46 deletions

View file

@ -15,7 +15,7 @@
import
intsets, ast, astalgo, msgs, renderer, magicsys, types, idents,
intsets, ast, msgs, renderer, magicsys, types, idents,
strutils, options, dfa, lowerings, tables, modulegraphs, msgs,
lineinfos, parampatterns, sighashes

View file

@ -10,7 +10,7 @@
# This module implements semantic checking for pragmas
import
os, platform, condsyms, ast, astalgo, idents, semdata, msgs, renderer,
os, condsyms, ast, astalgo, idents, semdata, msgs, renderer,
wordrecg, ropes, options, strutils, extccomp, math, magicsys, trees,
types, lookups, lineinfos, pathutils, linter

View file

@ -12,9 +12,6 @@ import
wordrecg, strutils, options, guards, lineinfos, semfold, semdata,
modulegraphs
when not defined(leanCompiler):
import writetracking
when defined(useDfa):
import dfa

View file

@ -15,9 +15,6 @@ import
magicsys, idents, lexer, options, parampatterns, strutils, trees,
linter, lineinfos, lowerings, modulegraphs
when (defined(booting) or defined(nimsuggest)) and not defined(leanCompiler):
import docgen
type
MismatchKind* = enum
kUnknown, kAlreadyGiven, kUnknownNamedParam, kTypeMismatch, kVarNeeded,