Skip to content

Compiler error on Eff code compiled with 2.12  #6484

Closed
@benhutchison

Description

@benhutchison

Scastie 1: Uses the Scala 2.12 version of Eff library under Scala 2.12. Compiles OK
https://scastie.scala-lang.org/aINnRnZOTBas6SrzWRBmfQ

Scastie 2: Uses the Scala 2.12 version of Eff library under Dotty. Doesn't compile
https://scastie.scala-lang.org/vTzj2G33SEqO1WtRBUo8oA

The sample code runReader makes use of implicits to compute the output type, and it seems that the semantics of implicit resolution varies in some way between Dotty and Scala 2.12, resulting in different behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions