Skip to content

Fix code comment to print the correct value #932

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 12, 2017
Merged

Fix code comment to print the correct value #932

merged 1 commit into from
Dec 12, 2017

Conversation

MarounMaroun
Copy link
Contributor

@MarounMaroun MarounMaroun commented Nov 21, 2017

Fix output in comment, should be (2, 3) and not (x, y):

val point1 = new Point(2, 3)
point1.x  // 2
println(point1)  // prints (2, 3) <- here's my change, was (x, y)

@SethTisue SethTisue merged commit 1afc9d7 into scala:master Dec 12, 2017
@SethTisue
Copy link
Member

good catch. thanks!

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