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

Remove explicit passing of implicit param #654

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

mrdziuban
Copy link
Contributor

In the most recent RC releases of Scala 3 (Scala 3.5.0-RC2, RC2, and RC4) this causes a warning:

-- Error: /path/to/generated/target/scala-3.5.0-RC4/src_managed/main/sbt-scalaxb/scalaxb/scalaxb.scala:727:32
727 |    opt(text ^^ (x => DataRecord(x.node.text)(format)))
    |                      ^^^^^^^^^^^^^^^^^^^^^^^
    |                      Context bounds will map to context parameters.
    |                      A `using` clause is needed to pass explicit arguments to them.
    |                      This code can be rewritten automatically under -rewrite -source 3.4-migration.

Copy link
Owner

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@eed3si9n eed3si9n merged commit e242798 into eed3si9n:develop Jul 11, 2024
2 checks passed
@mrdziuban mrdziuban deleted the patch-1 branch July 11, 2024 19:46
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.

2 participants