diff options
author | Martin Odersky <odersky@gmail.com> | 2015-03-08 11:45:07 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-03-18 11:15:48 +0100 |
commit | 78ef6bbe9da970afa0af9d086c305eb36db56b8b (patch) | |
tree | d48408b0e2bdabfb3b752ea276ee8463852993aa /test | |
parent | 3d987dfa4904d10878482f2211a0aa3af19cae6f (diff) | |
download | dotty-78ef6bbe9da970afa0af9d086c305eb36db56b8b.tar.gz dotty-78ef6bbe9da970afa0af9d086c305eb36db56b8b.tar.bz2 dotty-78ef6bbe9da970afa0af9d086c305eb36db56b8b.zip |
Harmonize treatment of simplified between typer and unpickler
We got some spurious differences in the types in TemplateParents
because simplification was done in Typer but not in Unpickler.
With the change we get perfect matches for all files in pickleOK
also if we print their types.
Diffstat (limited to 'test')
-rw-r--r-- | test/dotc/tests.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index ba9f49455..39dd16dc9 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -32,7 +32,7 @@ class tests extends CompilerTest { val newDir = "./tests/new/" val dotcDir = "./src/dotty/" - @Test def pickle_pickleOK = compileDir(posDir + "pickleOK/", testPickling) + @Test def pickle_pickleOK = compileDir(posDir + "pickleOK/", "-Xprint-types" :: testPickling) @Test def pickle_pickling = compileDir(dotcDir + "tools/dotc/core/pickling", testPickling) @Test def pos_t2168_pat = compileFile(posDir, "t2168") |