@@ -1984,8 +1984,6 @@ cradleTests = testGroup "cradle"
19841984 ,testGroup "loading" [loadCradleOnlyonce]
19851985 ]
19861986
1987−{- HLINT ignore loadCradleOnlyonce "Redundant bracket" -}
1988−-- HLint seems to get confused by type applications and suggests to remove parentheses.
19891987loadCradleOnlyonce :: TestTree
19901988loadCradleOnlyonce = testGroup "load cradle only once"
19911989 [ testSession' "implicit" implicit
@@ -2353,8 +2351,6 @@ nthLine i r
23532351 | i >= Rope.rows r = error $ "Row number out of bounds: " <> show i <> "/" <> show (Rope.rows r)
23542352 | otherwise = Rope.takeWhile (/= '\n') $ fst $ Rope.splitAtLine 1 $ snd $ Rope.splitAtLine (i - 1) r
23552353
2356−{- HLINT ignore getWatchedFilesSubscriptionsUntil "Redundant bracket" -}
2357−-- HLint seems to get confused by type applications and suggests to remove parentheses.
23582354getWatchedFilesSubscriptionsUntil :: forall end . (FromJSON end, Typeable end) => Session [Maybe Value]
23592355getWatchedFilesSubscriptionsUntil = do
23602356 msgs <- manyTill (Just <$> message @RegisterCapabilityRequest <|> Nothing <$ anyMessage) (message @end)