From 52b6daad86eb9ab5bbeecb2709729d992ee977f7 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 17 Oct 2016 12:33:00 +0200 Subject: Drop erroneous setPos in TreeUnpickler. With that change, all files tested in pickleOK have the same positions before and after pickling. --- test/dotc/tests.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/dotc/tests.scala') diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index 94b74d786..feb65021d 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -65,7 +65,7 @@ class tests extends CompilerTest { Directory(defaultOutputDir + "java").deleteRecursively() } - @Test def pickle_pickleOK = compileDir(testsDir, "pickling", testPickling) + @Test def pickle_pickleOK = compileDir(testsDir, "pickling", "-Yprintpos" :: testPickling) // This directory doesn't exist anymore // @Test def pickle_pickling = compileDir(coreDir, "pickling", testPickling) @Test def pickle_ast = compileDir(dotcDir, "ast", testPickling) -- cgit v1.2.3