more error propagation
[Refactoring] Reorder TemplateInstance member functions

Sort them based on the semantic order.
[Refactoring] bool TemplateInstance::hasNestedArgs(...)
[Refactoring] Add Module::isRoot()
fix Issue 11062 - inline ice with alias this and opIndexAssign
Merge pull request #2576 from 9rnsr/fix11062

[REG2.06a] Issue 11062 - inline ice with alias this and opIndexAssign
refactor enum code
Merge pull request #2568 from WalterBright/enum-refactor

refactor enum code to do forward references of members
Merge pull request #2574 from 9rnsr/refactor_root

[Refactoring] Add Module::isRoot()
Merge pull request #2573 from 9rnsr/refactor_template

[Refactoring] Reorder TemplateInstance member functions
Merge pull request #2535 from WalterBright/statement-errors

more error propagation
fix Issue 8825 - Wrong line number of error message

- Each tokens should have its own 'loc'.
- Rename `Lexer::loc` to `scanloc` to avoid misuse of lookahead-loc.
Fix trivial wrong line number of aggregates
Fix iasm parser bug

`asm_chktok` will advance the token place. So reading `asmtok->uns64value` after the call would take a wrong value.
Merge pull request #2492 from 9rnsr/fix8825

Fix lexer/parser bugs to fix Issue 8825
fix Issue 11081 - Win64: duplicate COMDAT with failed compilation with lambdas
Add assertion for lambda code generation
improve overflow error message
Merge pull request #2580 from WalterBright/improve-msg

improve overflow error message
fix TARGET_CPU=stub, a new CF flag has been added to generic code