Make the registered passes local to the ModuleGraph (#9259)
Closes #9068
This commit is contained in:
parent
85187d4ba3
commit
b97a7dbf3d
12 changed files with 60 additions and 64 deletions
|
|
@ -13,10 +13,10 @@ import
|
|||
os, options, ast, astalgo, msgs, ropes, idents, passes, modulepaths,
|
||||
pathutils
|
||||
|
||||
from modulegraphs import ModuleGraph
|
||||
from modulegraphs import ModuleGraph, PPassContext
|
||||
|
||||
type
|
||||
TGen = object of TPassContext
|
||||
TGen = object of PPassContext
|
||||
module: PSym
|
||||
config: ConfigRef
|
||||
graph: ModuleGraph
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue