Braces are not unwrapped in expression

Description

Rule:

 

Objc:

 

Swift:

 

Expected:

Environment

None

Activity

Show:
Alex Petuschak
March 30, 2020, 4:43 PM

Fixed. Small suggestions:

  1. Add space after / before { }as we do in other method translations, i.e.map { }

2. Use the new Swift 5.2 syntax for keypath expressions here if possible (we will include all further changes in the Swift 5.2 converter only, anyway).

Assignee

Ivan Kh

Reporter

Ivan Kh

Labels

None

Git Branch Name

Feature/github

GitHub Issue

None

Fix versions

Priority

Medium
Configure