I think that a compilation error does not require that you would show all your code. Sometimes it is enough to present the full error message and you will directed in right way.:)
It is much worse when a long listing of code is shown but the full error message is absent.:)