-
-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
millModuleDirectChildren
is not respected when resolving
#2573
Comments
The new resolver aims to avoid instantiating things as far as possible, so it doesn't even look at We can make this work again by introducing a marker trait, perhaps |
What I really need is a |
…duleDirectChildren` (#2574) Fixes #2573 For now, I just preserved the `def millModuleDirectChildren` overriding. I couldn't figure out how to get `def enabled: Boolean` working without causing circular dependencies between `instantiateModule` depend on `resolveDirectChildren0`, resulting in an infinite recursion. Avoiding the infinite recursion would require some re-working on `ResolveCore.scala`. That can come in a follow-up, for now I just want to fix the regression and preserve the status quo (except for the new requirement of needing to extend a marker trait)
Given this build:
mill resolve mod._
returns
mod.bar
andmod.foo
in0.11.0-M11
while doesn't return anything in0.10.12
The text was updated successfully, but these errors were encountered: