Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Report when we could not detect the declaring parent of a target (#2885)
We now report the target name in case we weren't able to detect it's declaring parent class. Tested manually with a Mill version before the merge of #2883. ```scala // /tmp/mill-2844/build.sc import mill._ object mod extends Module { object foo extends Module { def bar = T { baz() } } private def baz = T { "baz" } } ``` ``` > mill -i dev.run /tmp/mill-2844 -i mod.foo.bar [1691/1691] dev.run [info] compiling 1 Scala source to /tmp/mill-2844/out/mill-build/compile.dest/classes ... [info] done compiling Could not detect the parent class of target mod.baz. Please report this at https://github.com/com-lihaoyi/mill/issues/new/choose. As a workaround, you can run Mill with `--disable-callgraph-invalidation` option. ``` Pull request: #2885
- Loading branch information