You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rawValue of enum cases is parsed wrong in sourcey 2.0.1.
As you can see in the output, the comment "some comment" is part of the rawValue.
I would expect the comment not to be part of the rawValue.
Currently wrong: zero = 0 // some comment
Expected correct: zero = 0
Workaround until fixed: put the comment on an extra line
source.swift
public enum SomeEnum: Int {
case zero = 0 // some comment
case positive = 1
case negative = -1
}
The rawValue of enum cases is parsed wrong in sourcey 2.0.1.
As you can see in the output, the comment "some comment" is part of the rawValue.
I would expect the comment not to be part of the rawValue.
Currently wrong:
zero = 0 // some comment
Expected correct:
zero = 0
Workaround until fixed: put the comment on an extra line
source.swift
template.ejs
output
The text was updated successfully, but these errors were encountered: