Revert "Compiler [Typechecker]: Promote type operator failure to void." This commit broke the type checking of foreach() in Getopt. This reverts commit 4ebedfbedd5113292b43577f1bad339bbbae1f28.