Skip to content

TASTY tests for src/dotty #1189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 30, 2016
Merged

Conversation

VladimirNik
Copy link
Contributor

TASTY tests for src/dotty are added.

In comments to tests there are files for which we have different representation before pickling and after unpickling.

Review by @odersky

@odersky
Copy link
Contributor

odersky commented Mar 30, 2016

LGTM. Now we just have to find out whether the failures are real or artificial. Note that it's not guaranteed that trees with types print the same before and after pickling. That would be too restrictive and low-level. Already now we paper over differences with the "homogenize" method in PlainPrinter. So we should classify any remaining failure into one of

  1. Real bug, needs to be fixed.
  2. Semantically the same, can be addressed by refining "homogenize"
  3. Semantically the same, impractical to make print out the same, ignore the test.

@DarkDimius DarkDimius merged commit 8cafcb9 into scala:master Mar 30, 2016
@DarkDimius
Copy link
Contributor

@VladimirNik weren't those tests supposed to fail?

@VladimirNik
Copy link
Contributor Author

@DarkDimius These tests are correct. On Monday I'll publish tests for files that are excluded from pickling in this pull request - I found simple examples for them.

@allanrenucci allanrenucci deleted the tasty-dotty-tests branch December 14, 2017 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants