Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

keyword as submodule name in 0.12 #3863

Closed
chikei opened this issue Oct 29, 2024 · 0 comments · Fixed by #3865
Closed

keyword as submodule name in 0.12 #3863

chikei opened this issue Oct 29, 2024 · 0 comments · Fixed by #3865
Milestone

Comments

@chikei
Copy link
Contributor

chikei commented Oct 29, 2024

minimal repro: https://github.com/chikei/mill-keyword-package

if I declare package using package build.`import`
mill complains:

1 tasks failed
generateScriptSources Package declaration "package build.`import`" in import/package.mill does not match folder structure. Expected: "package build.import"
Package declaration "package build.`import`" in import/package.mill does not match folder structure. Expected: "package build.import"

if declare using package build.import
mill complains differently:

1 tasks failed
generateScriptSources import/package.mill:1:14 expected end-of-input
package build.import
             ^
import/package.mill:1:14 expected end-of-input
package build.import

note that submodule like package build.`name-hyphen` generally fine

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants