-
Notifications
You must be signed in to change notification settings - Fork 71
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
Strange Error when formatting a file #332
Comments
Ah i forgot to mention, my |
Oh, nice! I found the origin of this. I noticed that another file had a similar line with just one additional variable, so I copied that and in worked.
A few tests (referring to the file above)
So then I got a little bored and narrowed it down to
fails (also storing that in a file and running |
What OS are you on I'm unable to reproduce this |
Mac OS (Big Sur, so 11), |
how do I do that? |
Well on Mac OS I have a special characters part in the system, otherwise copy it maybe from here https://www.compart.com/en/unicode/U+00A0 |
* Count number of bytes in unicode whitespace fixes #332 * revert change from typo
Consider the file here
https://github.com/JuliaManifolds/Manopt.jl/blob/chambolle-pock/examples/ChambollePock/SPD_Signal_TV.jl
running on that file a format yields an error, that I do not understand (see below) but more surprisingly, commenting out line 21, i.e. changing it to
#export_any = export_orig || export_primal || export_table
makes formatter pass even with true, so a correctly formatted file.
Any idea why without commenting out the following error occurs?
Happens on JuliaFormatter v0.10.8 with Julia 1.5.2.
The text was updated successfully, but these errors were encountered: