Skip to content

Remove explicit passing of implicit param#654

Merged
eed3si9n merged 1 commit into
eed3si9n:developfrom
mrdziuban:patch-1
Jul 11, 2024
Merged

Remove explicit passing of implicit param#654
eed3si9n merged 1 commit into
eed3si9n:developfrom
mrdziuban:patch-1

Conversation

@mrdziuban
Copy link
Copy Markdown
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
Copy Markdown
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
@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