in reply to Warning gets the line number wrong?

jesuashok is probably right, but another common cause of broken line numbers in warnings is if you're using a module that is based on a source filter, such as Switch.
  • Comment on Re: Warning gets the line number wrong?