> Compilation is performed in phases
In this context, it isn’t. The comment you replied to was a response to the statement:
> I've implemented this for calls in a single-pass compiler and it is really simple. You just treat the yet-undeclared call as if it was used correctly and add it to a list of calls to check later.