compiler: resolve only current typeblock forward declarations when the type block is finished (fixes bug #18086) git-svn-id: trunk@16480 -