diff options
author | Martin Odersky <odersky@gmail.com> | 2015-03-08 21:08:41 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-03-18 11:16:36 +0100 |
commit | 90b05b4554f888f458db886f2644445aedadc7fa (patch) | |
tree | 65dd1a52373a08ea9a8d8d05b4e148b6e41c6bab /test | |
parent | 26babc32bcef74aec1526c10a2040de0740c59ba (diff) | |
download | dotty-90b05b4554f888f458db886f2644445aedadc7fa.tar.gz dotty-90b05b4554f888f458db886f2644445aedadc7fa.tar.bz2 dotty-90b05b4554f888f458db886f2644445aedadc7fa.zip |
Two more tweaks to make pickling invariant under printing
1) DefDefs with implicit method types generate implicit parameters
2) Super accessors are inserted after class parameters.
With these changes files in core also print the same after pickling,
with the exception of Types and TypeOps which have some spurious differences:
Types are equal but appear in more simplified form after pickling.
Diffstat (limited to 'test')
-rw-r--r-- | test/dotc/tests.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index 303bf46cd..187b91ba6 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -39,6 +39,7 @@ class tests extends CompilerTest { @Test def pickle_pickleOK = compileDir(posDir + "pickleOK/", testPickling) @Test def pickle_pickling = compileDir(dotcDir + "tools/dotc/core/pickling/", testPickling) + @Test def pickle_core = compileDir(dotcDir + "tools/dotc/core/pickling/", testPickling, xerrors = 2) // two spurious comparison errors in Types and TypeOps @Test def pos_t2168_pat = compileFile(posDir, "t2168") @Test def pos_erasure = compileFile(posDir, "erasure") |