-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiler/passes: clearPasses, registerPass does not attach to ModuleGraph #9068
Comments
Looks like |
indeed! |
Marking as high priority because it affects Nimble in a pretty bad way. |
The problem here is that we get a circular dependency we have to break somehow:
CC @Araq, choose your favourite option |
I pick "Move the type definitions to moduleGraphs" |
Currently they operates on global
var
s:Nim/compiler/passes.nim
Lines 60 to 69 in 1074cc1
Despite taking a
ModuleGraph
as argument.See #8590 (comment)
The text was updated successfully, but these errors were encountered: