Skip to content

Commit 8921046

Browse files
committed
fix: compilation failure on GHC 9.10 and newer text
There's a new symbol show from text which conflicts with the prelude's show.
1 parent 7004dbf commit 8921046

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

glean/hs/Glean/Query/Thrift/Internal.hs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,12 @@ import Data.IORef
4747
import qualified Data.Map as Map
4848
import Data.Maybe
4949
import Data.Proxy
50-
import Data.Text as Text
50+
import qualified Data.Text as Text
51+
import Data.Text (Text)
5152
import qualified Data.Text.Encoding as Text
52-
import Compat.Prettyprinter hiding ((<>))
53+
import Compat.Prettyprinter (Pretty(..))
5354
import qualified Data.Vector as Vector
54-
import Text.Printf
55+
import Text.Printf (printf)
5556

5657
import Util.Log
5758

0 commit comments

Comments
 (0)