FIX: minor fix in aliased type resolution.
FIX: minor fix in aliased type resolution.

NikolayShubenkovProgSchool/red,vehar/red,iArnold/red,rheber/red,rheber/red,vehar/red,red-eco/red,iArnold/red,NikolayShubenkovProgSchool/red,red-eco/red