Skip to content

Commit 5e299c3

Browse files
authored
Fix missing lambda case
1 parent b99871b commit 5e299c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lsp-test/src/Language/LSP/Test.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
{-# LANGUAGE ScopedTypeVariables #-}
88
{-# LANGUAGE ExistentialQuantification #-}
99
{-# LANGUAGE DuplicateRecordFields #-}
10+
{-# LANGUAGE LambdaCase #-}
1011

1112
{-|
1213
Module : Language.LSP.Test
@@ -544,7 +545,7 @@ getAndResolveCodeActions doc range = do
544545
for items \case
545546
l@(InL _) -> pure l
546547
(InR r) | isJust (r ^. L.data_) -> InR <$> resolveCodeAction r
547-
r@(InR _) = pure r
548+
r@(InR _) -> pure r
548549

549550
-- | Returns all the code actions in a document by
550551
-- querying the code actions at each of the current

0 commit comments

Comments
 (0)