Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sbt-dotty: fix "sbt doc" after the Java rewrite
If args0 is bigger than retained, `retained.toArray(args0)` will fill args0 with the elements of retained and fill the rest with `null`, leading to an NPE later on. This was caught by the sbt scripted tests and can be reproduced by running: sbt-dotty/scripted sbt-dotty/example-project
- Loading branch information