Suppose you have one type Vehicle with a value constructor Car in the module Vehicle, and a type alias Car (for a record) in the module Car. When using both Vehicle and Car in a third module and adding an import to that third module using Elmjutsu, the import for the Car module is changed inappropriate into a compilation error.
Suppose you have one type
Vehicle
with a value constructorCar
in the moduleVehicle
, and a type aliasCar
(for a record) in the moduleCar
. When using bothVehicle
andCar
in a third module and adding an import to that third module using Elmjutsu, the import for theCar
module is changed inappropriate into a compilation error.I've created a repository to simulate this bug.
It seems that Elmjutsu infers the type alias as the value constructor and changes
into