Code actions for replacing wildcards in types broken in GHC 9.8 #4134
Labels
status: needs triage
type: bug
Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
There's a regression in GHC 9.8 in how types of wildcards in type signatures are inferred.
We added a conditional in tests to adjust to this new behavior - see comment.
I reported it in ghc and it got rejected as "this is the new behavior now, we should just document it"
This change in behavior breaks 2 tests:
haskell-language-server/plugins/hls-refactor-plugin/test/Main.hs
Lines 665 to 673 in 9076f90
haskell-language-server/plugins/hls-refactor-plugin/test/Main.hs
Lines 695 to 703 in 9076f90
So I think we should just update the test not to rely on polymorphic type and type defaulting
e.g.
The text was updated successfully, but these errors were encountered: