Skip to content

Commit 7d1fd0d

Browse files
committed
Add folder for Java interop tests that do not support join compilation
Quoting from d8ff147: Legacy-tests seems to always compile files together, but cooking only works for Java files read by ClassfileParser. I don't think it makes sense to change that - if we compile Java files from sources we should demand that raw types are re-written as wildcard types. Since other tests in the same situation will be added in the future, we create a `pos-java-interop-separate` test folder to keep them together.
1 parent 7cd176f commit 7d1fd0d

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

compiler/test/dotty/tools/dotc/CompilationTests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ class CompilationTests extends ParallelTesting {
6969
),
7070
scala2Mode
7171
) +
72-
compileFilesInDir("../tests/pos-special/i3273", defaultOptions) +
7372
compileFilesInDir("../tests/pos-special/spec-t5545", defaultOptions) +
7473
compileFilesInDir("../tests/pos-special/strawman-collections", defaultOptions) +
7574
compileFile("../scala2-library/src/library/scala/collection/immutable/IndexedSeq.scala", defaultOptions) +
@@ -110,6 +109,7 @@ class CompilationTests extends ParallelTesting {
110109
implicit val testGroup: TestGroup = TestGroup("posTwice")
111110
compileFile("../tests/pos/Labels.scala", defaultOptions) +
112111
compileFilesInDir("../tests/pos-java-interop", defaultOptions) +
112+
compileFilesInDir("../tests/pos-java-interop-separate", defaultOptions) +
113113
compileFile("../tests/pos/t2168.scala", defaultOptions) +
114114
compileFile("../tests/pos/erasure.scala", defaultOptions) +
115115
compileFile("../tests/pos/Coder.scala", defaultOptions) +

0 commit comments

Comments
 (0)