fix #3213: Collection.map iterator return `any` rather than `any`