Skip to content

Fix #1485 (en), add : Unit = for the deprecated procedure snippet. #1490

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
Aug 15, 2019

Conversation

dongxuwang
Copy link
Member

Fix #1485 , English.

Copy link
Member

@sjrd sjrd left a comment

Choose a reason for hiding this comment

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

Thank you!

@sjrd sjrd merged commit e6eccef into scala:master Aug 15, 2019
@leventov
Copy link
Contributor

This PR doesn't reword this part, which now is straightaway misleading:

The main method does not return a value (it is a procedure method). Therefore, it is not necessary to declare a return type.

@dongxuwang
Copy link
Member Author

@leventov good find

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.

scala-for-java-programmers.md uses and explains deprecated procedure method syntax
3 participants