https://github.com/stil4m/elmjutsu-add-import-bug
https://github.com/stil4m/elmjutsu-add-import-bug
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stil4m/elmjutsu-add-import-bug
- Owner: stil4m
- Created: 2017-01-14T10:32:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-14T11:19:44.000Z (over 8 years ago)
- Last Synced: 2025-01-21T18:51:43.738Z (4 months ago)
- Language: Elm
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# elmjutsu-add-import-bug
## Problem
The import for the type alias from `src/Car` is imported as `Vehicle(Car)` after an import is added via Elmjutsu. The value constructor for the `Vehicle` comes from the `Vehicle` module.
## Software versions
* Atom: `1.30.0`
* Elmjutsu `2.18.2`## How to reproduce
* Open the `Main.elm`
* `Elmjutsu: Add Import`
* Import a module that is not imported yet. For example `Dict`.
* The line `import Car exposing (Car)` is changed into `import Car exposing (Vehicle(Car))`, which leads into a compilation error.