The obvious consequence of a company publicly posting salaries (or even having clear salary ranges that nearly all the employees at the level of experience fall into) is that a thorough recruiter doesn't even need to ask your previous salary to be able to use it as a benchmark to work with though.