Skip to content

Conversation

@MikeG112
Copy link
Contributor

@MikeG112 MikeG112 commented Mar 6, 2021

I believe this example is meant to show that all objects in Scala are of type Any.

I am new to Scala, and may have misinterpreted this, but in any case I think the existing suggestion that the example shows that numerous types "are all objects just like every other object" is difficult to interpret having read only the preceding introductory tour docs.

@martijnhoekstra
Copy link
Contributor

The failing build is not related to this PR, but is #1953

This looks good to me. I think the original intent of the text was to echo the "everything is an object" maxim. I don't think that matters. Your wording sounds clearer than it was before in my eye. I don't know how things are able to sound in my eye, but it is what it is.

@SethTisue SethTisue merged commit ac53e57 into scala:master Mar 10, 2021
@MikeG112
Copy link
Contributor Author

MikeG112 commented Mar 10, 2021

Thanks for the review! That makes sense re the maxim, and I like that.

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