Skip to content

Commit

Permalink
Update comment in refactor tests (#4138)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Peyton Jones <[email protected]>
  • Loading branch information
jhrcek and michaelpj authored Mar 13, 2024
1 parent 46ad85b commit 5453ab5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/hls-refactor-plugin/test/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
Expand Down Expand Up @@ -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"
]
Expand Down

0 comments on commit 5453ab5

Please sign in to comment.