diff --git a/plugins/hls-refactor-plugin/test/Main.hs b/plugins/hls-refactor-plugin/test/Main.hs index 28de50efc8..09635e898a 100644 --- a/plugins/hls-refactor-plugin/test/Main.hs +++ b/plugins/hls-refactor-plugin/test/Main.hs @@ -667,7 +667,7 @@ typeWildCardActionTests = testGroup "type wildcard actions" , "func x y = x + y" ] [ if ghcVersion >= GHC98 - then "func :: a -> a -> a" -- 9.8 has a different suggestion + then "func :: a -> a -> a" -- since 9.8 GHC no longer does type defaulting (see https://gitlab.haskell.org/ghc/ghc/-/issues/24522) else "func :: Integer -> Integer -> Integer" , "func x y = x + y" ] @@ -697,7 +697,7 @@ typeWildCardActionTests = testGroup "type wildcard actions" , "func x y = x + y" ] [ if ghcVersion >= GHC98 - then "func::a -> a -> a" -- 9.8 has a different suggestion + then "func::a -> a -> a" -- since 9.8 GHC no longer does type defaulting (see https://gitlab.haskell.org/ghc/ghc/-/issues/24522) else "func::Integer -> Integer -> Integer" , "func x y = x + y" ]