We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
__:Type
Resolve is working incorrectly. If I have the following build.mill:
build.mill
package build import mill._, javalib._ trait TypeA extends Module { def foo = Task { "foo" } } trait TypeB extends Module { def bar = Task { "bar" } } trait TypeC extends Module { def baz = Task { "baz" } } trait TypeAB extends TypeA with TypeB object typeA extends TypeA object typeB extends TypeB object typeC extends TypeC { object typeA extends TypeA } object typeAB extends TypeAB
Running mill resolve _:TypeA._ produces the following output:
mill resolve _:TypeA._
typeA.foo typeAB.bar typeAB.foo
But, running mill resolve __:TypeA._ produces the following output:
mill resolve __:TypeA._
clean init inspect path plan resolve show showNamed shutdown typeA typeA.foo typeAB typeAB.bar typeAB.foo typeB typeC typeC.typeA.foo version visualize visualizePlan
The text was updated successfully, but these errors were encountered:
That's strange, we have a test for this case.
mill/main/resolve/test/src/mill/main/ResolveTests.scala
Lines 973 to 976 in 0e50ff7
Sorry, something went wrong.
I think I've hit similar issues when working on unrelated tasks, but haven't had time to investigate
Releated:
__:Module
No branches or pull requests
Resolve is working incorrectly. If I have the following
build.mill
:Running
mill resolve _:TypeA._
produces the following output:But, running
mill resolve __:TypeA._
produces the following output:The text was updated successfully, but these errors were encountered: