Skip to content

Add value class run tests #601

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 2 commits into from
May 24, 2015
Merged

Add value class run tests #601

merged 2 commits into from
May 24, 2015

Conversation

smarter
Copy link
Member

@smarter smarter commented May 23, 2015

Review by @DarkDimius .

@@ -1,4 +0,0 @@
f(C@2e)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why were those files deleted?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They were moved, not deleted, but the files changed too much for git to detect the move.

They declare final methods which are overriden in SyntheticMethods,
which means that all value classes fail at runtime.
Disabling them makes it possible to add run tests for value classes
which will make it easier to experiment with changes to value classes.
@smarter
Copy link
Member Author

smarter commented May 23, 2015

Addressed all comments.

@smarter
Copy link
Member Author

smarter commented May 23, 2015

@DarkDimius: OK, added back the printing of the methods.

DarkDimius added a commit that referenced this pull request May 24, 2015
@DarkDimius DarkDimius merged commit 818afa8 into scala:master May 24, 2015
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.

2 participants