mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-08 14:03:23 +00:00
fixes #3622
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user