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

Not support this format "if ... else ..." #178

Closed
cyhhao opened this issue Aug 25, 2017 · 3 comments
Closed

Not support this format "if ... else ..." #178

cyhhao opened this issue Aug 25, 2017 · 3 comments
Assignees
Labels
Milestone

Comments

@cyhhao
Copy link

cyhhao commented Aug 25, 2017

if a == 1 {
    a = 2
} 
else {
    a = 3
}
// right
if a == 1 {
    a = 2
}
    else {
        a = 3
}
// wrong

image

@Jintin Jintin self-assigned this Aug 26, 2017
@Jintin Jintin added the bug label Aug 26, 2017
@Jintin
Copy link
Owner

Jintin commented Aug 26, 2017

This is not a common format for swift, I'll try to fix in next version v1.4.1.
Thanks for your report.

@Jintin Jintin added this to the v1.4.1 milestone Aug 26, 2017
Jintin added a commit that referenced this issue Aug 26, 2017
@cyhhao
Copy link
Author

cyhhao commented Aug 28, 2017

Thanks !

@Jintin Jintin modified the milestones: v1.4.1, v1.5.0 Oct 3, 2017
@Jintin
Copy link
Owner

Jintin commented Oct 3, 2017

please try 1.5.0. Thank you.

@Jintin Jintin closed this as completed Oct 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants