Skip to content

Same named modules in different project components are indexed just once #13

@jhrcek

Description

@jhrcek

I have a project with multiple executable components, which happen to contain some modules with the same name.
The issue is that when I index this project with hiedb, only the last same-named module overwrites all the previous ones, due to UnitId not bein unique.
I'm getting the same behavior with stack / cabal.
This might be a build tool issue (in that unit id for executables is always set to main (?))

Here's a small project reproducing the issue
https://github.com/jhrcek/hiedb-sscces/tree/main/same-named-modules

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions