This repository was archived by the owner on Sep 8, 2022. It is now read-only.
Commit 1c26320
committed
Mixed Java/Scala compilation like sbt's "Mixed" compileOrder
Partest used to follow an old recommendation for mixed
compilation: first all files are passed to scalac, then
the Java files to javac (with the Scala classfiles on the
classpath), and finally the Scala files again to the Scala
compiler (with the existing classfiles on the classpath).
SBT and the other build tools stop after the second round,
so it makes sense for our partest to do the same by default.
Separate compilation (Java then Scala) can still be tested
using filename groups (`_N`).1 parent 143562f commit 1c26320
File tree
2 files changed
+5
-7
lines changed- src/main/scala/scala/tools/partest/nest
2 files changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
505 | | - | |
506 | 505 | | |
507 | 506 | | |
508 | | - | |
509 | 507 | | |
510 | | - | |
| 508 | + | |
511 | 509 | | |
512 | 510 | | |
513 | 511 | | |
| |||
0 commit comments