fixed type a case of type resolution of Haxe template types