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
Since version 1.7, Julia allows juxtaposition with radical symbols, e.g. 3√2, 2∛27 (see JuliaLang/julia#40173).
JuliaFormatter seems to to interpret these expressions as binary operations, adding whitespace: format_text("3√2") returns "3 √ 2", which is not valid syntax (both 3√2 and 3√ 2 are valid expressions, but 3 √2 and 3 √ 2 are not).
Version: Julia 1.7.1, JuliaFormatter 0.21.0
The text was updated successfully, but these errors were encountered:
Since version 1.7, Julia allows juxtaposition with radical symbols, e.g.
3√2
,2∛27
(see JuliaLang/julia#40173).JuliaFormatter seems to to interpret these expressions as binary operations, adding whitespace:
format_text("3√2")
returns"3 √ 2"
, which is not valid syntax (both3√2
and3√ 2
are valid expressions, but3 √2
and3 √ 2
are not).Version: Julia 1.7.1, JuliaFormatter 0.21.0
The text was updated successfully, but these errors were encountered: