[GHC] #8429: GHC.Base.{breakpoint, breakpointCond} do nothing
GHC
ghc-devs at haskell.org
Tue Oct 15 13:02:41 UTC 2013
#8429: GHC.Base.{breakpoint, breakpointCond} do nothing
-------------------------------------+------------------------------------
Reporter: refold | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 7.10.1
Component: Compiler | Version: 7.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets: 1377
-------------------------------------+------------------------------------
Changes (by simonmar):
* type: bug => feature request
* milestone: => 7.10.1
Comment:
To make them work, you would need to treat them as magic identifiers that
get recognised by the desugarer and replaced with actual breakpoints.
This probably wouldn't be too hard. The module that inserts breakpoints
is `compiler/deSugar/Coverage.hs`, and what we want to do is something
similar to the way that `{-# SCC #-}` is handled, in
`compiler/deSugar/DsExpr.lhs`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8429#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list