-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Error when formatting unary operators #220
Comments
It shouldn't, can you give me more code sample when the issue happened? |
Thanks for replying quickly! It happened to me when using the ternary operator "?:" |
It should work, may I ask your app version? |
Hi This issue appears to be happening for me. Xcode Version 12.5 (12E262), Swimat Version 1.7.0 (21), macOS 11.3. This code:
Is changed to:
The error from Xcode is "Unary operator cannot be separated from its operand". Cheers Ian |
it separates minuses and pluses from the number/variable following them which introduces errors.
ex "-1" -> "- 1"
The text was updated successfully, but these errors were encountered: