id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
3803	addCoverageTicksTobind should not panic when file location is Nothing	clemens	igloo	"compiler/deSugar/Coverage.lhs: 
{{{
addCoverageTicksToBinds dflags mod mod_loc tyCons binds = do 
  let orig_file = 
             case ml_hs_file mod_loc of
		    Just file -> file
		    Nothing -> panic ""can not find the original file during hpc trans""
}}}
Is there any reason for this function to panic? It is the only function (at least in my use-case) of the GHC API that panics on ms_hs_file = Nothing. I suggest to handle this more graceful and return emptyHpcInfo and emptyModBreaks just as in the case of file ending in .boot"	merge	closed	high	6.12.2	Compiler	6.12.1	fixed	hpc		Unknown/Multiple	Unknown/Multiple	None/Unknown					
