From 908db388190c8328e289a1019a033304e5e28ab9 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Thu, 15 Feb 2024 09:55:20 +0100 Subject: [PATCH] Fix small typo in Retrie error message (#4075) --- plugins/hls-retrie-plugin/src/Ide/Plugin/Retrie.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/hls-retrie-plugin/src/Ide/Plugin/Retrie.hs b/plugins/hls-retrie-plugin/src/Ide/Plugin/Retrie.hs index 218edae3b8..f5871d9d73 100644 --- a/plugins/hls-retrie-plugin/src/Ide/Plugin/Retrie.hs +++ b/plugins/hls-retrie-plugin/src/Ide/Plugin/Retrie.hs @@ -651,7 +651,7 @@ constructInlineFromIdentifer originParsedModule originSpan = do -> let imports = mempty in constructfromFunMatches imports fun_id fun_matches - _ -> return $ error "cound not find source code to inline" + _ -> return $ error "could not find source code to inline" asEditMap :: [(Uri, TextEdit)] -> Map.Map Uri [TextEdit] asEditMap = Map.fromListWith (++) . map (second pure)