Use exact position of dependencies when reporting errors