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 2d23a34 commit 19c4f46Copy full SHA for 19c4f46
plugins/hls-class-plugin/src/Ide/Plugin/Class.hs
@@ -125,9 +125,9 @@ addMethodPlaceholders lf state AddMinimalMethodsParams{..} = fmap (fromMaybe err
125
| otherwise
126
= n
127
128
--- | This implementation is extremely ad-hoc in a sense that
129
--- 1. sensitive to the format of diagnostic messages from GHC
130
--- 2. pattern matches are not exhaustive
+-- |
+-- This implementation is ad-hoc in a sense that the diagnostic detection mechanism is
+-- sensitive to the format of diagnostic messages from GHC.
131
codeAction :: CodeActionProvider
132
codeAction _ state plId docId _ context = fmap (fromMaybe errorResult) . runMaybeT $ do
133
docPath <- MaybeT . pure . uriToNormalizedFilePath $ toNormalizedUri uri
0 commit comments