I think the error should occur for first one as well but a:1 cannot be a variable declaration or at least I don't know if such things can be defined.