Skip to content

ShrykeWindgrace/weederwrong-attribution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weeder wrong attribution

Setup

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

Outcome

Wrong attribution:

$ weeder --config weeder.toml --hie-directory .hie
one\Main.hs:8: unused

Correct attribution:

$ weeder --config weeder.toml --hie-directory .hie/one

$ weeder --config weeder.toml --hie-directory .hie/two
two\Main.hs:8: unused

About

Wrong weed attribution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors