Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Java analysis is empty after a noop #3667
When jvm_compile invokes zinc for a noop on a Java target, the second build can deterministically result in empty analysis for the Java target.
The first time you will see an accurate error for the unused dep. The second time (without changes!) you will see all deps of the library reported as unused (because the analysis is now empty).
Just a quick look shows there is a difference in the analysis files after a noop. Tested with a compile that generated 31 analysis files. After a noop there were 3 analysis files that shrunk in size out of 31 analysis files generated (e.g. 105K->23K in size)