Enum type should be unwrapped with "rawValue" in concrete type context

Description

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

I see this comment which meaning is different from the code.
Maybe this is the problem.

But actually it's better to cast concrete expressions to enum type, like this:

Instead of this:

Environment

None

Activity

Show:
Alex Petuschak
August 5, 2020, 3:24 PM

Need to change GetBinaryExpressionType()so that it reutrns the enum type for String and enum operands.

Let’s keep just open.

Assignee

Alex Petuschak

Reporter

Ivan Kh

Labels

None

Git Branch Name

None

Components

Fix versions

Priority

Medium
Configure