fix Issue 4757 - A forward reference error with return of inner defined struct
[style] fix indent
fix Issue 12334 - Cannot access frame pointer of nested class from inside lambda
fix Issue 12350 - Assigning __traits(getAttributes) to variable crashes DMD
fix Issue 12352 - Consistently stop encoding return type of parent functions

Remove hack for Voldemort Type mangling
Merge pull request #3371 from 9rnsr/fix12334

Issue 12334 - Cannot access frame pointer of nested class from inside lambda
Merge pull request #3377 from 9rnsr/fix12352

Issue 12352 - Consistently stop encoding return type of parent functions
Merge pull request #3376 from 9rnsr/fix12350

Issue 12350 - Assigning __traits(getAttributes) to variable crashes DMD
[Refactoring] Add Package::isPackageMod()
[Refactoring] Add Module::isPackageFile
[Refactoring] Tweak code block
Add test case for issue 12359 before deprecation
Fix import issues

- Add package table in each scope, due to check which package/module name is accessible via imports.
- Renamed/Selective imports no longer create aliases for the introduced names.
- Merge imports in base class members to derived class
Add "FIXME" comment for issue 10604 in ScopeDsymbol::search
Fix existing tests to fit improved import mechanism
fix Issue 313 - [module] Fully qualified names bypass private imports
fix Issue 314 - [module] Static, renamed, and selective imports are always public
fix Issue 8667 - selective import breaks normal overload resolution
fix Issue 10128 - import statement in base class members should be private by default
Fundamental fix for Issue 12201