We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b99871b commit 5e299c3Copy full SHA for 5e299c3
lsp-test/src/Language/LSP/Test.hs
@@ -7,6 +7,7 @@
7
{-# LANGUAGE ScopedTypeVariables #-}
8
{-# LANGUAGE ExistentialQuantification #-}
9
{-# LANGUAGE DuplicateRecordFields #-}
10
+{-# LANGUAGE LambdaCase #-}
11
12
{-|
13
Module : Language.LSP.Test
@@ -544,7 +545,7 @@ getAndResolveCodeActions doc range = do
544
545
for items \case
546
l@(InL _) -> pure l
547
(InR r) | isJust (r ^. L.data_) -> InR <$> resolveCodeAction r
- r@(InR _) = pure r
548
+ r@(InR _) -> pure r
549
550
-- | Returns all the code actions in a document by
551
-- querying the code actions at each of the current
0 commit comments