Opened on 04/10/2018 at 04:35:57 AM

Closed on 04/10/2018 at 11:04:09 PM

#6570 closed change (fixed)

Update map/flatMap usage for Swift 4.1

Reported by: dzhang Assignee: dzhang
Priority: Unknown Milestone:
Module: Adblock-Plus-for-iOS/macOS Keywords:
Cc: Blocked By:
Blocking: Platform: iOS
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description

Background

Nil mapping cases are handled differently in Swift 4.1 with compactMap.

What to change

Update instances of flatMap and map with compactMap where needed.

Attachments (0)

Change History (1)

comment:1 Changed on 04/10/2018 at 11:04:09 PM by dzhang

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Change Properties
Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from dzhang.
 
Note: See TracTickets for help on using tickets.