Skip to content

Add M3 blog article #10806

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 18, 2020
Merged

Add M3 blog article #10806

merged 1 commit into from
Dec 18, 2020

Conversation

anatoliykmetyuk
Copy link
Contributor

@anatoliykmetyuk anatoliykmetyuk commented Dec 15, 2020

TODO:

  • Link to the Scala-lang article

[skip ci]

# SBT plugin bump
SBT plugin was bumped to 0.5.0. Because of the changes in PR [#10607](https://github.com/lampepfl/dotty/pull/10607) this release of Scala 3 will not work with earlier versions of the SBT plugin. So if you are an early adopter of Scala 3 who has some projects in it, you will need to bump your SBT plugin version to migrate to M3.

# Final syntactic tweaks
Copy link
Contributor Author

Choose a reason for hiding this comment

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

/cc @odersky

(s: Show[String]) ?=> s.show("foobar")
```

# `Matchable` trait – a new top-level type
Copy link
Contributor Author

Choose a reason for hiding this comment

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

/cc @odersky

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.

Proofreading.

@romanowski
Copy link
Contributor

We've just discovered a bug in doc task in dotty-sbt 0.5.0 and we will need to bump it to 0.5.1 once it is released.

Fix is here #10843

@romanowski
Copy link
Contributor

New (1.5.1) version of sbt-dotty has beed just relead so this is not longer a blocker.

@rjolly
Copy link
Contributor

rjolly commented Dec 18, 2020

This is not right. It says Matchable does not have any method but it has getClass and isInstanceOf. See https://github.com/lampepfl/dotty/blob/master/docs/blog/_posts/2020-12-18-scala3-m3.md for comparison.

@chaotic3quilibrium
Copy link

This is not right. It says Matchable does not have any method but it has getClass and isInstanceOf. See https://github.com/lampepfl/dotty/blob/master/docs/blog/_posts/2020-12-18-scala3-m3.md for comparison.

More accurately, there is a paragraph that starts with:

  • Matchable is currently a marker trait without any methods. Over time, we intend to migrate the methods getClass and isInstanceOf to it, since these are closely related to pattern-matching.

It probably should be updated to more accurately say:

  • Matchable is currently a marker trait without any method implementations. Over time, we intend to migrate the method implementations of getClass and isInstanceOf to it, since these are closely related to pattern-matching.

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.