Class plugin type lenses show unnecessary constraints #3240
Labels
component: hls-class-plugin
type: bug
Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
On 1.8.0
The lenses for the class plugin show type signatures that include any context from the class itself, e.g.
(those constraints appear on the class). This is unnecessary: you can delete the constraints and the signature works because they're implied.
This is I think a similar problem to what we had here #2966 (comment)
I'm not totally sure what to do. Maybe we can ask the GHC devs if there's a way to get the right answer here. Maybe we can just remember the constraints that are in scope and try and get rid of them?
The text was updated successfully, but these errors were encountered: