Skip to content

Commit 72a17e9

Browse files
Move all pickling tests to pos
Move pickling/annot.scala to pending as it doesn't pass Ycheck, see scala#5073.
1 parent c62e467 commit 72a17e9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+1
-780
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ class CompilationTests extends ParallelTesting {
183183
@Test def pickling: Unit = {
184184
implicit val testGroup: TestGroup = TestGroup("testPickling")
185185
compileFilesInDir("tests/new", picklingOptions) +
186-
compileFilesInDir("tests/pickling", picklingOptions) +
187186
compileFilesInDir("tests/pos", picklingOptions, FileFilter.exclude(TestSources.posTestPicklingBlacklisted)) +
188187
compileFilesInDir("tests/run", picklingOptions, FileFilter.exclude(TestSources.runTestPicklingBlacklisted))
189188
}.checkCompile()

tests/pickling/annot.scala renamed to tests/pending/annot-2.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ class RefinedType extends Type
55
object TestAnnot {
66
def toText(tp: Type) = tp match {
77
case tp: RefinedType =>
8+
// Doesn't Ycheck, see #5073
89
val parent :: (refined: List[RefinedType @unchecked]) = ???
910
???
1011
}

tests/pickling/Coder.scala

Lines changed: 0 additions & 59 deletions
This file was deleted.

tests/pickling/alias.scala

Lines changed: 0 additions & 3 deletions
This file was deleted.

tests/pickling/arrays2.scala

Lines changed: 0 additions & 32 deletions
This file was deleted.

tests/pickling/desugar.scala

Lines changed: 0 additions & 88 deletions
This file was deleted.

tests/pickling/hk.scala

Lines changed: 0 additions & 56 deletions
This file was deleted.

tests/pickling/i3608.scala

Lines changed: 0 additions & 10 deletions
This file was deleted.

tests/pickling/i94-nada.scala

Lines changed: 0 additions & 45 deletions
This file was deleted.

tests/pickling/nameddefaults.scala

Lines changed: 0 additions & 63 deletions
This file was deleted.

tests/pickling/new-array.scala

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)