[GHC] #7129: LINE pragma disables automatic tickish annotations
GHC
cvs-ghc at haskell.org
Tue Aug 21 16:57:54 CEST 2012
#7129: LINE pragma disables automatic tickish annotations
-------------------------------+--------------------------------------------
Reporter: scpmw | Owner:
Type: bug | Status: closed
Priority: normal | Milestone: 7.8.1
Component: Compiler | Version: 7.5
Resolution: fixed | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Other | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
-------------------------------+--------------------------------------------
Changes (by simonmar):
* status: patch => closed
* resolution: => fixed
Comment:
commit 68a1393b806f5cd26086eb5853cc5427df99f320
{{{
Author: Peter Wortmann <scpmw at leeds.ac.uk>
Date: Wed Aug 8 16:52:15 2012 +0100
Annotate code in {-# LINE #-} pragmas as well
I suppose this was a good idea for HPC, as it assumed that source code
annotations coming from a source file could only talk about the same
source file (by how Mix files are saved).
I don't see a reason why cost-centres or source annotations would want
that kind of behaviour. I introduced a flag for toggling the behaviour
per tickish.
(plus some minor refactoring, as well as making sure that the same
check
applies to binary tick boxes, where they had apparently been
forgotten.)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7129#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list