From 5453ab5b5d659498792e8dd5696ba3319b0b0712 Mon Sep 17 00:00:00 2001 From: Jan Hrcek <2716069+jhrcek@users.noreply.github.com> Date: Wed, 13 Mar 2024 13:02:01 +0100 Subject: [PATCH] Update comment in refactor tests (#4138) Co-authored-by: Michael Peyton Jones --- plugins/hls-refactor-plugin/test/Main.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" ]