#6585 closed defect (fixed)

ABB: Update map/flatMap usage for Swift 4.1

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

https://codereview.adblockplus.org/29756822/

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.

Change History (2)

comment:1 Changed 16 months ago by CraftyDeano

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:2 Changed 16 months ago by CraftyDeano

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