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

Incorrect merge of imports with differing aliases #230

Open
jjant opened this issue Feb 6, 2022 · 1 comment
Open

Incorrect merge of imports with differing aliases #230

jjant opened this issue Feb 6, 2022 · 1 comment

Comments

@jjant
Copy link

jjant commented Feb 6, 2022

Expected Behavior

The lsp doesn't break imports

Current Behavior

The lsp changes

import A as B
import A as C

into

import A as C

breaking all references to B.*

Possible Solution

Don't merge incompatible import statements

@razzeee
Copy link
Member

razzeee commented Feb 6, 2022

Please be more specific, when does this happen?

We don't merge imports, but elm-format can do that.

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