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

LoadError for certain sub/superscript variables: a = - ᶠb #885

Open
haakon-e opened this issue Oct 24, 2024 · 1 comment
Open

LoadError for certain sub/superscript variables: a = - ᶠb #885

haakon-e opened this issue Oct 24, 2024 · 1 comment

Comments

@haakon-e
Copy link

On JuliaFormatter v1.0.62,

Any of these fail:

a = - ₐb
a = - ᵃb
a = - ᶠb

This succeeds:

a = - ᶜb

Julia v1.11.1

@domluna
Copy link
Owner

domluna commented Oct 27, 2024

julia> s = """
       a = - ₐb
       a = - ᵃb
       a = - ᶠb
       """
"a = - ₐb\na = - ᵃb\na = - ᶠb\n"

julia> format_text(s)
"a = - ₐb\na = - ᵃb\na = - ᶠb\n"

julia> format_text(s) |> print
a = - ₐb
a = - ᵃb
a = - ᶠb

this seems to work on master

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

No branches or pull requests

2 participants