What's the reasoning for allowing this?
The mistake is immediately obvious when you run the program, so I just don't see it as a big deal. You lose a matter of seconds, realize the mistake, and fix it.
What is your proposal for handling it? The ones usually put around are kinda a pain to use.