fixes #3622
This commit is contained in:
parent
6f09282352
commit
5c0ffa6613
4 changed files with 7 additions and 6 deletions
|
|
@ -9,8 +9,10 @@
|
|||
|
||||
## Plugin to transform an inline iterator into a data structure.
|
||||
|
||||
import plugins, ast, astalgo, magicsys, lookups, semdata,
|
||||
lambdalifting, msgs, rodread
|
||||
import compiler/pluginsupport, compiler/ast, compiler/astalgo,
|
||||
compiler/magicsys, compiler/lookups, compiler/semdata,
|
||||
compiler/lambdalifting, compiler/rodread, compiler/msgs
|
||||
|
||||
|
||||
proc iterToProcImpl(c: PContext, n: PNode): PNode =
|
||||
result = newNodeI(nkStmtList, n.info)
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@
|
|||
|
||||
## The builtin 'system.locals' implemented as a plugin.
|
||||
|
||||
import compiler/plugins, compiler/ast, compiler/astalgo, compiler/magicsys,
|
||||
compiler/lookups, compiler/semdata, compiler/lowerings
|
||||
import compiler/pluginsupport, compiler/ast, compiler/astalgo,
|
||||
compiler/magicsys, compiler/lookups, compiler/semdata, compiler/lowerings
|
||||
|
||||
proc semLocals(c: PContext, n: PNode): PNode =
|
||||
var counter = 0
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ import
|
|||
procfind, lookups, rodread, pragmas, passes, semdata, semtypinst, sigmatch,
|
||||
intsets, transf, vmdef, vm, idgen, aliases, cgmeth, lambdalifting,
|
||||
evaltempl, patterns, parampatterns, sempass2, nimfix.pretty, semmacrosanity,
|
||||
semparallel, lowerings, plugins, plugins.active
|
||||
semparallel, lowerings, pluginsupport, plugins.active
|
||||
|
||||
when defined(nimfix):
|
||||
import nimfix.prettybase
|
||||
|
|
@ -485,4 +485,3 @@ proc myClose(context: PPassContext, n: PNode): PNode =
|
|||
popProcCon(c)
|
||||
|
||||
const semPass* = makePass(myOpen, myOpenCached, myProcess, myClose)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue