Skip to content

Commit 52c953c

Browse files
develop7soulomoon
andauthored
test: add test documenting #806 (#4292)
Co-authored-by: soulomoon <[email protected]>
1 parent 82da337 commit 52c953c

File tree

1 file changed

+1
-0
lines changed
  • plugins/hls-refactor-plugin/test

1 file changed

+1
-0
lines changed

plugins/hls-refactor-plugin/test/Main.hs

+1
Original file line numberDiff line numberDiff line change
@@ -3112,6 +3112,7 @@ addSigActionTests = let
31123112
, "(!!!) a b = a > b" >:: "(!!!) :: Ord a => a -> a -> Bool"
31133113
, "a >>>> b = a + b" >:: "(>>>>) :: Num a => a -> a -> a"
31143114
, "a `haha` b = a b" >:: "haha :: (t1 -> t2) -> t1 -> t2"
3115+
, "hello = print" >:: "hello :: GHC.Types.Any -> IO ()" -- Documents current behavior outlined in #806
31153116
, "pattern Some a = Just a" >:: "pattern Some :: a -> Maybe a"
31163117
, "pattern Some a <- Just a" >:: "pattern Some :: a -> Maybe a"
31173118
, "pattern Some a <- Just a\n where Some a = Just a" >:: "pattern Some :: a -> Maybe a"

0 commit comments

Comments
 (0)