Skip to content

Conversation

ringabout
Copy link
Member

fixes #24998

@@ -335,10 +339,13 @@ proc afterImport(c: PContext, m: PSym) =

proc impMod(c: PContext; it: PNode; importStmtResult: PNode) =
var it = it
var oldImportModuleMap = c.importModuleLookup
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to be rather expensive to copy this table here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing DuplicateModuleImport hint when modules share base filenames
2 participants