We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c45c87 commit 26d2161Copy full SHA for 26d2161
ghcide/src/Development/IDE/GHC/Compat/Outputable.hs
@@ -2,6 +2,7 @@
2
3
module Development.IDE.GHC.Compat.Outputable (
4
SDoc,
5
+ append,
6
Outputable,
7
showSDoc,
8
showSDocUnsafe,
@@ -43,6 +44,7 @@ import GHC.Unit.State
43
44
import GHC.Utils.Error hiding (mkWarnMsg)
45
import GHC.Utils.Logger
46
import GHC.Utils.Outputable
47
+import qualified GHC.Utils.Outputable as Out
48
import GHC.Utils.Panic
49
#elif MIN_VERSION_ghc(9,0,0)
50
import GHC.Driver.Session
@@ -163,3 +165,8 @@ mkWarnMsg =
163
165
#else
164
166
Err.mkWarnMsg
167
#endif
168
+
169
+-- 2021-12-21: NOTE: A lazy way to make export of Outputable.(<>) to not clash with Semigroup
170
+-- under unqualified Compat.Outputable imports.
171
+append :: SDoc -> SDoc -> SDoc
172
+append = (Out.<>)
0 commit comments