Skip to content
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

[Links] Known incompatibilities with scalac #1473

Closed
DarkDimius opened this issue Aug 24, 2016 · 6 comments
Closed

[Links] Known incompatibilities with scalac #1473

DarkDimius opened this issue Aug 24, 2016 · 6 comments

Comments

@DarkDimius
Copy link
Contributor

DarkDimius commented Aug 24, 2016

This issue is a list of issues where dotty by-design or by-intention does not support some of the code-patterns that were previously (partially) supported by scalac. Some of those features may be partially supported under -language:Scala2.

Dependent method types:

Overloading:

Widening and constraint solving:

  • vals infer less precise types than equivalent objects
  • implicit search on with type parameters in contravariant positions works differently

Supercalls:

Early initialisers and DelayedInit:

Definitions:

Structural types:

Weak subtyping:

  • not supported. Though constant widening is supported.
@smarter
Copy link
Member

smarter commented Aug 24, 2016

I think it would make more sense to collect these in a wiki page.

@DarkDimius
Copy link
Contributor Author

I would have agreed if people were reading wikis. My sample suggest that only a very small percentage of people does.

@smarter
Copy link
Member

smarter commented Aug 24, 2016

That suggests that we should advertise it better :). But I think a wiki page among 20 wiki pages is going to be read more than one issue among 160 issues.

@smarter
Copy link
Member

smarter commented Aug 24, 2016

Also, just as a sample point, the github statistics indicate that the "Getting Started" page of the wiki is read by slightly more unique visitors (100 vs 93) than the main "Issues" page: https://github.com/lampepfl/dotty/graphs/traffic

@DarkDimius
Copy link
Contributor Author

#1787

@liufengyun
Copy link
Contributor

Major changes are now documented in http://dotty.epfl.ch/docs/index.html REFERENCE > OTHER CHANGED FEATURES & DROPPED FEATURES.

Minor changes/incompatibilities now temporarily locate in wiki: https://github.com/lampepfl/dotty/wiki/Known-incompatibilities-with-scalac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants