optimize or-shift to multiply
add ErrorStatement
fix Issue 10141 - wrong error message with Tuple!(int) : Error: static assert "Cannot put a char[] into a Appender!(string)"

Essentially it's bad code if it branches based on the condition `global.errors != 0`.
Merge pull request #2340 from WalterBright/ErrorStatement

add ErrorStatement
Merge pull request #2333 from WalterBright/or-shift

optimize or-shift to multiply
Merge pull request #2346 from 9rnsr/fix10141

Issue 10141 - wrong error message with Tuple!(int) : Error: static assert "Cannot put a char[] into a Appender!(string)"