Skip to content

Commit 19c4f46

Browse files
committed
Fix invalid comment
1 parent 2d23a34 commit 19c4f46

File tree

1 file changed

+3
-3
lines changed
  • plugins/hls-class-plugin/src/Ide/Plugin

1 file changed

+3
-3
lines changed

plugins/hls-class-plugin/src/Ide/Plugin/Class.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ addMethodPlaceholders lf state AddMinimalMethodsParams{..} = fmap (fromMaybe err
125125
| otherwise
126126
= n
127127

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
128+
-- |
129+
-- This implementation is ad-hoc in a sense that the diagnostic detection mechanism is
130+
-- sensitive to the format of diagnostic messages from GHC.
131131
codeAction :: CodeActionProvider
132132
codeAction _ state plId docId _ context = fmap (fromMaybe errorResult) . runMaybeT $ do
133133
docPath <- MaybeT . pure . uriToNormalizedFilePath $ toNormalizedUri uri

0 commit comments

Comments
 (0)