fix Issue 9434 & 9435 - regression(head): forward reference error

test/compilable/test9434.d and test9435.d are mutually dependent.
Merge pull request #1589 from 9rnsr/fix9435

Issue 9435 - regression(head): forward reference error