I've just tested with versions 4.50 and 4.12 and they exhibit the same symptom, so it's been around a while.

I'd consider it the "don't use vars in strings" encouragement feature, rather than a bug ;\)