Commit 18b3de8
committed
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-project1 parent dbc7801 commit 18b3de8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments