You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
--docs flag does not work on elm/* packages with cross-package kernel imports #2123
This is a regression report from elm 0.19.0 to 0.19.1.
When I run elm-0.19.0 make --docs=documentation.json in a kernel package it successfully generates the docs and exits with 0 code.
When I run elm-0.19.1 make --docs=documentation.json in the same package it produces the following error and exits with code 1.
Detected problems in 1 module.
-- MODULE NOT FOUND -------------------------------------- src/Test/Internal.elm
You are trying to import a `Elm.Kernel.Debug` module:
3| import Elm.Kernel.Debug
^^^^^^^^^^^^^^^^
I checked the "dependencies" and "source-directories" listed in your elm.json,
but I cannot find it! Maybe it is a typo for one of these names?
Elm.Kernel.Test
Elm.Kernel.HtmlAsJson
Html.Keyed
Json.Encode
Hint: If it is not a typo, check the "dependencies" and "source-directories" of
your elm.json to make sure all the packages you need are listed there!
changed the title [-]compiler incorrectly rejects kernel imports from other packages[/-][+]--docs flag does not work on elm/* packages with cross-package kernel imports[/+]on Feb 9, 2021
Activity
github-actions commentedon Jul 1, 2020
Thanks for reporting this! To set expectations:
Finally, please be patient with the core team. They are trying their best with limited resources.
allow skipping imports in check_kernel_imports
[-]compiler incorrectly rejects kernel imports from other packages[/-][+]--docs flag does not work on elm/* packages with cross-package kernel imports[/+]