Skip to content

Commit 5719898

Browse files
committed
hls-rename-plugin: Unify logging infrastructure
1 parent 1bce4ae commit 5719898

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plugins/hls-rename-plugin/src/Ide/Plugin/Rename.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{-# LANGUAGE ScopedTypeVariables #-}
1010
{-# LANGUAGE TypeApplications #-}
1111

12-
module Ide.Plugin.Rename (descriptor) where
12+
module Ide.Plugin.Rename (descriptor, E.Log) where
1313

1414
#if MIN_VERSION_ghc(9,2,1)
1515
import GHC.Parser.Annotation (AnnContext, AnnList,

plugins/hls-rename-plugin/test/Main.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import Test.Hls
1212
main :: IO ()
1313
main = defaultTestRunner tests
1414

15-
renamePlugin :: PluginDescriptor IdeState
16-
renamePlugin = Rename.descriptor mempty "rename"
15+
renamePlugin :: PluginTestDescriptor Rename.Log
16+
renamePlugin = mkPluginTestDescriptor Rename.descriptor "rename"
1717

1818
-- See https://github.com/wz1000/HieDb/issues/45
1919
recordConstructorIssue :: String

0 commit comments

Comments
 (0)