elm-language-client-vscode icon indicating copy to clipboard operation
elm-language-client-vscode copied to clipboard

Incorrect merge of imports with differing aliases

Open jjant opened this issue 3 years ago • 1 comments

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

jjant avatar Feb 06 '22 17:02 jjant

Please be more specific, when does this happen?

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

razzeee avatar Feb 06 '22 17:02 razzeee