Fix resultType regression