haskell / haskell/HieDb

Same named modules in different project components are indexed just once

Open
#13 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
69
Forks
30
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.