ModuleInfo.minf_rdr_env not exposed
Sam Halliday
sam.halliday at gmail.com
Mon Aug 5 17:21:53 UTC 2019
Hi all,
Is there a reason why minf_rdr_env (a field in ModuleInfo) is not
exposed?
It's possible to reconstruct it in 8.4.4 (the only version I'm looking
at) with a TypecheckedModule via
let (tc_gbl_env, _) = GHC.tm_internals_ tmod
minf_rdr_env = tcg_rdr_env tc_gbl_env
It's a useful thing to have for editor tooling (e.g. to get the correct
qualified imported symbols that may be autocompleted).
--
Best regards,
Sam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20190805/5a9ccb91/attachment.sig>
More information about the ghc-devs
mailing list