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
Hi,
we've noticed a regression in Sourcery 1.6.0 when dealing with negative raw enum values.
It's a legacy project that was previously using Sourcery 1.2.1.
What version of Swift are you using (swift --version)?
Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6)
Hi,
we've noticed a regression in Sourcery 1.6.0 when dealing with negative raw enum values.
It's a legacy project that was previously using Sourcery 1.2.1.
What version of Swift are you using (swift --version)?
Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6)
What did you do?
My template (simplified from https://github.com/eugeneego/legacy/blob/master/Sources/Templates/Transformer.swifttemplate):
My enum:
What did you expect to see?
What did you see instead?
Notice "case -" and "(destination: -)" - these do not compile and we have to correct them manually.
The text was updated successfully, but these errors were encountered: