File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
hls-alternate-number-format-plugin
hls-call-hierarchy-plugin/test
hls-change-type-signature-plugin/test Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ getFirstPragma state nfp = handleMaybeM "Error: Could not get NextPragmaInfo" $
152
152
(_, fileContents) <- liftIO $ runAction (alternateNumberFormatId <> " .GetFileContents" ) state $ getFileContents nfp
153
153
case ghcSession of
154
154
Just (hscEnv -> hsc_dflags -> sessionDynFlags, _) -> pure $ Just $ getNextPragmaInfo sessionDynFlags fileContents
155
- Nothing -> pure Nothing
155
+ Nothing -> pure Nothing
156
156
157
157
requestLiterals :: MonadIO m => IdeState -> NormalizedFilePath -> ExceptT String m CollectLiteralsResult
158
158
requestLiterals state = handleMaybeM " Error: Could not Collect Literals"
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ main :: IO ()
21
21
main = defaultTestRunner test
22
22
23
23
alternateNumberFormatPlugin :: PluginDescriptor IdeState
24
- alternateNumberFormatPlugin = AlternateNumberFormat. descriptor mempty " alternateNumberFormat "
24
+ alternateNumberFormatPlugin = AlternateNumberFormat. descriptor mempty
25
25
26
26
-- NOTE: For whatever reason, this plugin does not play nice with creating Code Actions on time.
27
27
-- As a result tests will mostly pass if `import Prelude` is added at the top. We (mostly fendor) surmise this has something
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import qualified System.IO.Extra
21
21
import Test.Hls
22
22
23
23
plugin :: PluginDescriptor IdeState
24
- plugin = descriptor " callHierarchy "
24
+ plugin = descriptor
25
25
26
26
main :: IO ()
27
27
main = defaultTestRunner $
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ main :: IO ()
32
32
main = defaultTestRunner test
33
33
34
34
changeTypeSignaturePlugin :: PluginDescriptor IdeState
35
- changeTypeSignaturePlugin = ChangeTypeSignature. descriptor " changeTypeSignature "
35
+ changeTypeSignaturePlugin = ChangeTypeSignature. descriptor
36
36
37
37
test :: TestTree
38
38
test = testGroup " changeTypeSignature" [
You can’t perform that action at this time.
0 commit comments