if (string) is converted to if string != "", which is wrong

Description

https://github.com/Swiftify-Corp/Swiftify/issues/76

I'm absolutely agree with Nick.

should be translated to

.

analog in objc is

.
So here the converter breaks initial logic.

Environment

None

Activity

Show:
Alex Petuschak
August 5, 2020, 1:25 PM

Closing as a duplicate to GitHub issue: https://github.com/Swiftify-Corp/Swiftify/issues/76

Just assign priorities in GitHub and I'll take a look.

Assignee

Alex Petuschak

Reporter

Ivan Kh

Labels

None

Git Branch Name

None

Components

Fix versions

Priority

High
Configure