Skip to content

Commit 2a2df37

Browse files
committed
Expose showBag on 9.2 as well
1 parent 3459f48 commit 2a2df37

File tree

1 file changed

+0
-2
lines changed
  • plugins/hls-splice-plugin/src/Ide/Plugin

1 file changed

+0
-2
lines changed

plugins/hls-splice-plugin/src/Ide/Plugin/Splice.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,6 @@ manualCalcEdit clientCapabilities reportEditor ran ps hscEnv typechkd srcSpan _e
397397
showErrors = show
398398
#endif
399399

400-
#if MIN_VERSION_ghc(9,4,1)
401400
showBag :: Error.Diagnostic a => Bag (Error.MsgEnvelope a) -> String
402401
showBag = show . fmap (fmap toDiagnosticMessage)
403402

@@ -408,7 +407,6 @@ toDiagnosticMessage message =
408407
, diagReason = Error.diagnosticReason message
409408
, diagHints = Error.diagnosticHints message
410409
}
411-
#endif
412410

413411
-- | FIXME: Is thereAny "clever" way to do this exploiting TTG?
414412
unRenamedE ::

0 commit comments

Comments
 (0)