properly compare types in DCE (fixed issue #1479)

git-svn-id: http://haxe.googlecode.com/svn/trunk@6186 f16182fa-f095-11de-8f43-4547254af6c6
using fixes

git-svn-id: http://haxe.googlecode.com/svn/trunk@6187 f16182fa-f095-11de-8f43-4547254af6c6