I recently ran into an issue when refactoring a project, in which the compiler was reporting an error that a method had insufficient arguments. Using Ctrl + clicking to drill through the code clearly showed a parameterless overload. Error insight also seemed to be off exactly one line.
Rearranging the methods within the unit didn’t change the outcome, but it showed that after a particular line there was an issue, because Ctrl + clicking on a local variable no longer jumped to it’s declaration, but one line above.
Using NotePad++ to show all control characters, there didn’t seem to be anything other than the normal <CR><LF> characters at the end of each line. Once we performed a conversion to Mac/Unix format and back to Windows in NotePad++, the issue was resolved. It appears that GIT must have changed an EOLN marker at some point and we simply didn’t notice it in Notepad++.