feat: Single shall not be transitive

main
Henrik Böving 2022-07-21 23:15:20 +02:00
parent be1c34fc12
commit c35d750e67
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ def getRelevantModules (imports : List Name) : MetaM (HashSet Name) := do
let mut relevant := .empty
for module in env.header.moduleNames do
for import in imports do
if Name.isPrefixOf import module then
if import == module then
relevant := relevant.insert module
pure relevant