Opened 2 years ago

Closed 2 years ago

#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):



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.

Change History (1)

comment:1 Changed 2 years ago by dzhang

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.