[GHC] #14476: Keep source locations in Core (optionally)
GHC
ghc-devs at haskell.org
Fri Nov 17 19:48:55 UTC 2017
#14476: Keep source locations in Core (optionally)
-------------------------------------+-------------------------------------
Reporter: nomeata | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Niki):
So, @bgamari you are saying that if I run ghc with a hight enough
`debugLevel` (is it just >2?),
than CoreExpr will preserve all source info as `SourceNote` (inside the
Ticks).
I will try it in LH to see if it work, but for completeness, this is
related to https://ghc.haskell.org/trac/ghc/ticket/10506 (that seem to be
stale)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14476#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list