When Vim reports errors within a function it typically reports relative line numbers. For example:Error detected while processing function Foo:line  11:E123: Blah blahHere indicating the issue is at line 11 relative to start of function Foo. Guess this is a result of how Vim load functions etc.  but is there a way to make it report absolute line numbers? As in line-number of script-file holding the function.
Absolute script-file line-numbers in Vim-function errors
vimscript;error
There was an RFC suggesting this, but there was no response from Bram at the time.