summary refs log tree commit diff stats
path: root/nimsuggest
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2023-03-03 14:36:38 +0800
committerGitHub <noreply@github.com>2023-03-03 07:36:38 +0100
commitd51a392149df1c0783fa526eabbc904ce0cd0cbd (patch)
treeac626f84f46810d34c8cc9c625561ee2d825543b /nimsuggest
parentd4d28f2ffe522d2509dccfa7be0eef709732d93f (diff)
downloadNim-d51a392149df1c0783fa526eabbc904ce0cd0cbd.tar.gz
replaces implicit passes array registed at runtime with explicit function calls; simplify compilation pipeline (#21444)
* abolish using passes in the compiler; simplify compilation pipeline

* duplicate code

* Really cool to have the same signature...

* haul

* unify other backends

* refactor process

* introduce PipelinePhase

* refactor compiler

* fixes passes

* fixes nimsuggest

* add a sentinel

* enable docs checkj

* activate doc testing

* clean up

* complete cleanups
Diffstat (limited to 'nimsuggest')
-rw-r--r--nimsuggest/nimsuggest.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/nimsuggest/nimsuggest.nim b/nimsuggest/nimsuggest.nim
index a0a3b8e82..ce9681975 100644
--- a/nimsuggest/nimsuggest.nim
+++ b/nimsuggest/nimsuggest.nim
@@ -23,7 +23,7 @@ import strutils, os, parseopt, parseutils, sequtils, net, rdstdin, sexp
 # Do NOT import suggest. It will lead to weird bugs with
 # suggestionResultHook, because suggest.nim is included by sigmatch.
 # So we import that one instead.
-import compiler / [options, commands, modules, sem,
+import compiler / [options, commands, modules,
   passes, passaux, msgs,
   sigmatch, ast,
   idents, modulegraphs, prefixmatches, lineinfos, cmdlinehelper,