Set sc->parent during AggregateDeclaration::semantic2 and semantic3
[Refactoring] isNeedThisScope
Add toAliasFunc call to track correct f->parent
[REG2.063a] fix Issue 9633 - compiles trait wrongly returns true even when object method call actually does not compile

Improve isNeedThisScope
Merge pull request #1722 from 9rnsr/fix9633

[REG2.063a] Issue 9633 - compiles trait wrongly returns true even when object method call actually does not compile