Skip to content

Replace the deprecated code #1586

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
Nov 27, 2019
Merged

Replace the deprecated code #1586

merged 1 commit into from
Nov 27, 2019

Conversation

qiuyangnie
Copy link
Contributor

There was one deprecation warning as procedure syntax is deprecated: instead, add : Unit = to explicitly declare speak's return type or implicitly using =.

There was one deprecation warning as procedure syntax is deprecated: instead, add `: Unit =` to explicitly declare `speak`'s return type or implicitly using `=`.
@SethTisue SethTisue merged commit 35b0cc3 into scala:master Nov 27, 2019
@SethTisue
Copy link
Member

good catch, thank you!

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