Hello,
attached is a simple example where I include a file containing a function definition, calling another function where I deliberately did put an error. The error line reported is the good one, but not the file.
function main (in compilerbadlinereport.4dg) calls function callBadFromAnotherFile (in compilerbadlinereport.inc) that calls bad (in compilerbadlinereport.4dg). The error is at compilerbadlinereport.4dg, line 6, but is reported at compilerbadlinereport.inc, line 6.
Hope it helps. Regards,