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