Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed enum code to allow simple value types, and a rawValue constructor #97

Merged
merged 6 commits into from
May 3, 2019

Conversation

torlangballe
Copy link
Collaborator

Early pull request to get feedback before making tests.

@angelolloqui
Copy link
Owner

Sorry, I completely missed this one!
I am checking the code because it is quite complex. At the same time, I am cleaning up a bit by moving things into a utility class and fixing formatting options.

I thing I have noticed is that the computed properties and methods inside the enum are not been converted anymore but just removed. The previous tests were not covering that. I am going to add some tests with that and the new cases before merging

@angelolloqui
Copy link
Owner

OK, I think it is now solved. Methods and properties weren't properly converted before, but the code conversion was working just as a result of calling super and letting the standard swift conversion take over. Now it should be OK.

Thanks for the huge PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants