avh4 / elm-upgrade

Upgrade Elm projects

Home Page:https://www.npmjs.com/package/elm-upgrade

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automatically explicitly list all the exports from a package?

eeue56 opened this issue · comments

commented

In 0.18, you can export (..) from a module (e.g module Lazy.List exposing (..)), and that's fine.

In 0.19, you must explicitly list each of them. However -- if the package existed in 0.18, the exposed things were already explicitly listed in the docs. Maybe we can pull the names from the docs and fill the (..) exposing gap

Oh, good, I was already planning to have elm-format do that always: avh4/elm-format#417 (and related, avh4/elm-format#395)

The 0.19 upgrade docs don't mention that this is a change in 0.19 -- is it a change that was intended?

commented

Yes, I think so.

Fixed in 0.19.0-rc8