File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ import Data.IORef
4747import qualified Data.Map as Map
4848import Data.Maybe
4949import Data.Proxy
50- import Data.Text as Text
50+ import Data.Text as Text hiding ( show )
5151import qualified Data.Text.Encoding as Text
5252import Compat.Prettyprinter hiding ((<>) )
5353import qualified Data.Vector as Vector
Original file line number Diff line number Diff line change @@ -144,6 +144,10 @@ toNamespace occ
144144 | GHC. isTvOcc occ = Hs. Namespace_tyvar
145145 | GHC. isTcOcc occ = Hs. Namespace_tycon
146146 | GHC. isDataOcc occ = Hs. Namespace_datacon
147+ #if MIN_VERSION_ghc(9,10,0)
148+ -- TODO: this is definitely wrong lol
149+ | GHC. isFieldOcc occ = Hs. Namespace_var_
150+ #endif
147151 | otherwise = error " toNamespace"
148152
149153isRecFieldRef :: RecFieldContext -> Bool
You can’t perform that action at this time.
0 commit comments