Block-level DefMap
nesting is wrong in inner modules
#8614
Labels
A-nameres
name, path and module resolution
S-actionable
Someone could pick this issue up and work on it right now
#8613 adds a test that demonstrates the issue:
Here, we wrongly store
(0)
(the block root module) as the module containing(1)
'sDefMap
, when it should actually bemod module
.Luckily, almost nobody uses modules inside items, so the impact is somewhat limited, but this still points out some issues with how we store inner items, which I do plan to address at some point.
The text was updated successfully, but these errors were encountered: