We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 228d669 commit 52ea29fCopy full SHA for 52ea29f
ghcide/src/Development/IDE/Plugin/TypeLenses.hs
@@ -325,7 +325,11 @@ rules recorder = do
325
326
bindToSig :: Id -> HscEnv -> GlobalRdrEnv -> IOEnv (Env TcGblEnv TcLclEnv) (Name, String)
327
bindToSig id hsc rdrEnv = do
328
- env <- tcInitTidyEnv
+ env <-
329
+#if MIN_VERSION_ghc(9,7,0)
330
+ liftZonkM
331
+#endif
332
+ tcInitTidyEnv
333
let name = idName id
334
(_, ty) = tidyOpenType env (idType id)
335
pure (name, showDocRdrEnv hsc rdrEnv (pprSigmaType ty))
0 commit comments