Fix Issue 11485 - [e2ir] Error in e2ir at numeric/bool to class/interface cast
error propagation from TypeFunction::semantic
Fix Issue 11484 - [e2ir] Error in e2ir at cast to/from static array
Merge pull request #2788 from yebblies/issue11485

Issue 11485 - [e2ir] Error in e2ir at numeric/bool to class/interface cast
Merge pull request #2850 from WalterBright/func-errors

error propagation from TypeFunction::semantic
Fix Issue 9081 - Modules shouldn't have a type