GHC-9.8.2
Two executables defined in, respectively, one/Main.hs and two/Main.hs. The second file contains a "weed" - an unused function.
HIE files are written to .hie/one/ and .hie/two/ to avoid rewriting of the file Main.hie.
Default weeder.toml generated by the weeder executable itself
Wrong attribution:
$ weeder --config weeder.toml --hie-directory .hie
one\Main.hs:8: unusedCorrect attribution:
$ weeder --config weeder.toml --hie-directory .hie/one
$ weeder --config weeder.toml --hie-directory .hie/two
two\Main.hs:8: unused