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

Compile with Scala 3 #2065

Draft
wants to merge 28 commits into
base: main
Choose a base branch
from
Draft

Compile with Scala 3 #2065

wants to merge 28 commits into from

Conversation

fthomas
Copy link
Member

@fthomas fthomas commented Apr 6, 2021

No description provided.

@fthomas
Copy link
Member Author

fthomas commented Apr 6, 2021

The Scala 3 build fails with:

[info] compiling 141 Scala sources to /home/runner/work/scala-steward/scala-steward/modules/core/.jvm/target/scala-3.0.0-RC2/classes ...
exception caught when loading trait GenConcurrent: java.lang.AssertionError: assertion failed: duplicate type F#45910; previous was type F#45561
[info] assertion failure for org.scalasteward.core.application.Context.type <:< ?{ step0: ? }, frozen = false
[info] exception occurred while typechecking /home/runner/work/scala-steward/scala-steward/modules/core/src/main/scala/org/scalasteward/core/Main.scala

It seems we're hitting scala/scala3#11173 here.

.github/workflows/ci.yml Outdated Show resolved Hide resolved
@fthomas
Copy link
Member Author

fthomas commented Feb 8, 2023

The following dependencies are currently not available for Scala 3:

@dabrowski-adam
Copy link

dabrowski-adam commented Sep 18, 2024

The following dependencies are currently not available for Scala 3:

It may now be possible to remove circe-generic-extras and replace its usage with ConfiguredCodec, which has been implemented in circe-core:

https://github.com/circe/circe/blob/051f11d7bd9fbf83ceed2bb7cbf66bd3d10af20c/modules/core/shared/src/main/scala-3/io/circe/derivation/ConfiguredCodec.scala#L146

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.

3 participants