fix Issue 9538 - Regression (2.062): Can't use typeid on .ptr of static array
fundamental fix for resolveHelper
fix Issue 9554 - Inconsistent stringof and mangleof result for module/package identifier
Merge pull request #1681 from 9rnsr/fix9538

Issue 9538 - Regression (2.062): Can't use typeid on .ptr of static array