Skip to content

[Links] Known incompatibilities with scalac #1473

Closed
@DarkDimius

Description

@DarkDimius

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions