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

^^^'s are misaligned when line contains emojis #277

Open
harrysarson opened this issue Oct 16, 2018 · 0 comments
Open

^^^'s are misaligned when line contains emojis #277

harrysarson opened this issue Oct 16, 2018 · 0 comments

Comments

@harrysarson
Copy link

SSCCE: https://ellie-app.com/3CZQLzL9fVKa1

module Main exposing (main)

x = ['🙈', '🙉', invalid]

The compiler gives an error in column 16 (which is correct) but the ^^^^'s are misaligned.
Even when using a monospace font the emojis are wider than other characters which I believe causes this misalignment.

Full error message:

Line 3, Column 16
I cannot find a `invalid` variable:

3| x = ['🙈', '🙉', invalid]
                  ^^^^^^^
These names seem close though:

    asin
    isNaN
    List.all
    abs

Hint: Read <https://elm-lang.org/0.19.0/imports> to see how `import`
declarations work in Elm.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants