Skip to content

Fix #3623: Special case MethodType in PlainPrinter #3629

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
Dec 23, 2017

Conversation

allanrenucci
Copy link
Contributor

There is still an issue for method with no parameter list:

def bar: Int // printed as: def bar: => Int

@odersky
Copy link
Contributor

odersky commented Dec 3, 2017

What was fixed? We should add a test case.

@nicolasstucki
Copy link
Contributor

We currently don't have a good way to test the output of the printers. Or do we?

@allanrenucci
Copy link
Contributor Author

No. For this PR, I could add either A REPL test or an error message test.
I guess it would be nice to have tests for the printers though.

@nicolasstucki
Copy link
Contributor

I think it is fine, but we should design some easy way to test printers. I also need for tests in the decompiler. I already have some ideas and will start working on them.

@odersky odersky merged commit 95418f9 into scala:master Dec 23, 2017
@allanrenucci allanrenucci deleted the fix-#3623 branch December 23, 2017 18:07
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.

3 participants