Skip to content

Scala 2.13.3 regression: recursive value x$19 needs type when applying functions with implicit parameters #12103

Open
@neko-kai

Description

@neko-kai

reproduction steps

To reproduce execute:

git clone https://github.com/zio/izumi-reflect.git -b bug/scala-2.13.3-regression
cd izumi-reflect
sbt '++2.13.3 test'

problem

Compilation fails with error:

[error] /private/tmp/izumi-reflect/izumi-reflect/izumi-reflect/src/main/scala/izumi/reflect/macrortti/LightTypeTag.scala:294:22: recursive value x$19 needs type
[error]         Tuple2Pickler[AbstractReference, AbstractReference].pickle((obj.bottom, obj.top))
[error]                      ^
[error] one error found
[error] (izumi-reflect / Compile / compileIncremental) Compilation failed

expectation

compilation succeeds on 2.13.2, 2.11.12, 2.12.12 & 0.26.0-RC1 but fails immediately on the commit updating to 2.13.3 (bug/scala-2.13.3-regression branch above)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions