Now, I understand why the above line was not being compiled. The above line is a one-line form of:
byte x = bit(0); //initialization
byte y; //declaration
But, y was already declared; so, the error message was valid.
Thanks for giving time to explain it.