Yesterday I posted this message on an online forum:
I've fixed that bug while I was reviewing the code.
But I'm not sure it's correct. I understand that I was reviewing the code is a finished event and the act of fixing the bug is finished as well, but its consequences affect the present (something is now working because a bug no longer exists).
Is my reasoning correct or should I always use simple past when I was doing something is in the same sentence (or context)?