Skip to content

Commit d8ff147

Browse files
committed
Refactor test
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. So to fix this we move the offending files to pos-special and compile them only in CompilationTests.
1 parent 77208c2 commit d8ff147

File tree

3 files changed

+1
-0
lines changed

3 files changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ class CompilationTests extends ParallelTesting {
6666
),
6767
scala2Mode
6868
) +
69+
compileFilesInDir("../tests/pos-special/i3273", defaultOptions) +
6970
compileFilesInDir("../tests/pos-special/spec-t5545", defaultOptions) +
7071
compileFilesInDir("../tests/pos-special/strawman-collections", defaultOptions) +
7172
compileFile("../scala2-library/src/library/scala/collection/immutable/IndexedSeq.scala", defaultOptions) +
File renamed without changes.

0 commit comments

Comments
 (0)