From dcc64d4ec3666354c3c32ce6a075b5ae52019c88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Hr=C4=8Dek?= Date: Tue, 12 Mar 2024 16:53:26 +0100 Subject: [PATCH] Update comment in refactor tests --- 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" ]