
#10506: SourceNotes are not applied to all identifiers -------------------------------------+------------------------------------- Reporter: gridaphobe | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.3 Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by gridaphobe): Hrm, this patch doesn't produce the output I would expect. Consider {{{ module Bar where bar = 1 + 2 }}} {{{ $ ghc -ddump-tick-vars -ddump-ticked -g bar.hs [1 of 1] Compiling Bar ( bar.hs, bar.o ) AbsBinds [] [] {Exports: [bar <= bar_amB <>] Exported types: bar :: Integer [LclId, Str=DmdType] Binds: -- ticks = [srcbar.hs:3:1-11] bar_amB = srcbar.hs:3:7-11 (+) srcbar.hs:3:7 1 srcbar.hs:3:11 2} }}} The tick on the `(+)` spans the whole application, which is not precise enough for us. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10506#comment:12 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler