I'd never suspect this to be intentional if I'd spot it in a patch, even given the consequences in this particular case.
I have written and committed things into code instead of writing it into some other window several times. Without a linter I probably wouldn't spot an extra dot when reviewing my own change before sending it out.