[GHC] #11786: Need -fno-print-explicit-runtime-reps to work on IfaceType, else RuntimeRep leaks
GHC
ghc-devs at haskell.org
Thu Feb 14 15:29:58 UTC 2019
#11786: Need -fno-print-explicit-runtime-reps to work on IfaceType, else RuntimeRep
leaks
-------------------------------------+-------------------------------------
Reporter: simonpj | Owner: (none)
Type: bug | Status: new
Priority: highest | Milestone: 8.6.1
Component: Compiler | Version: 7.10.3
Resolution: | Keywords:
| LevityPolymorphism
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #13275, #15181 | Differential Rev(s): Phab:D4733
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by simonpj):
Another oddity is that `elminiateRunTimeRep` (which works recursively) is
called by `pprIfaceSigmaTy`, which is called from `ppr_sigma` which is
called by `ppr_ty` which is also recursive.
This can't be right. I think `eliminateRuntimeRep` should only be called
at top level
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11786#comment:17>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list