fix Issue 12008 - alias this and "unable to resolve forward reference" error
Merge pull request #3163 from 9rnsr/fix12008

[REG2.065a] Issue 12008 - alias this and "unable to resolve forward reference" error