Closed Gabriella439 closed 1 year ago
I've been working on reviving the splint project for newer versions of GHC so that we can create a GHC plugin for hlint.
splint
hlint
When running hlint as a plugin it seems to trip up on the comments field of EpAnn, which is not always present for the AST supplied to a GHC plugin.
comments
EpAnn
This change fixes that by replacing all uses of the partial comments field with an alternative total function.
Thanks!
I've been working on reviving the
splint
project for newer versions of GHC so that we can create a GHC plugin forhlint
.When running
hlint
as a plugin it seems to trip up on thecomments
field ofEpAnn
, which is not always present for the AST supplied to a GHC plugin.This change fixes that by replacing all uses of the partial
comments
field with an alternative total function.