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
Fix resolution of children of override lazy val modules (#3270)
This was preventing resolution of modules in the form `override lazy val
foo: FooModule = new FooModule{...}`, which are necessary when you want
to override one module with another. You couldn't resolve them via
`resolve` or run them from the command line, but you could depend on
them from other modules and have then get picked up by planning logic
These turn up in Mill's own build, and I notice I couldn't resolve e.g.
`main.codesig.test.cases[callgraph-basic-1-static-method].compile`
before this PR. After this PR, I can.
Filtering out `abstract` methods in `Reflect` seems unnecessary, since
compilation checks that every method is implemented already.
Added a unit test to cover this edge case.
Pull request: #3270
0 commit comments