Compilation failures caused by code from previous sketch after "Save As"

Hi @ravenable. Can you provide a detailed set of step-by-step minimal instructions we can follow to reproduce the fault?

It sounds somewhat like this known bug:

However, that is not known to be caused by a "Save As..." operation, so I'm not certain.