From 0bea4d32cf0b2b0d1ed59ce7a8e1c4afd45bb46d Mon Sep 17 00:00:00 2001 From: tensorknower69 Date: Fri, 22 Jul 2022 13:58:09 +0800 Subject: [PATCH] fix a typo in src/Ide/Plugin/Class/CodeLens.hs --- plugins/hls-class-plugin/src/Ide/Plugin/Class/CodeLens.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/hls-class-plugin/src/Ide/Plugin/Class/CodeLens.hs b/plugins/hls-class-plugin/src/Ide/Plugin/Class/CodeLens.hs index 32e9e349e8..5ea74fe780 100644 --- a/plugins/hls-class-plugin/src/Ide/Plugin/Class/CodeLens.hs +++ b/plugins/hls-class-plugin/src/Ide/Plugin/Class/CodeLens.hs @@ -27,7 +27,7 @@ codeLens state plId CodeLensParams{..} = do enabled <- enableTypeLens <$> getCompletionsConfig plId if not enabled then pure $ pure $ List [] else pluginResponse $ do nfp <- getNormalizedFilePath plId uri - tmr <- handleMaybeM "Unable to typecheak" + tmr <- handleMaybeM "Unable to typecheck" $ liftIO $ runAction "classplugin.TypeCheck" state $ use TypeCheck nfp