Skip to content

Fix apply auto insertion warnings - #44

Merged
eed3si9n merged 1 commit into
sbt:developfrom
xuwei-k:apply-auto-insertion
Mar 19, 2026
Merged

eed3si9n merged 1 commit into
sbt:developfrom
xuwei-k:apply-auto-insertion

Conversation

@xuwei-k

@xuwei-k xuwei-k commented Mar 18, 2026

Copy link
Copy Markdown
Member
[warn] -- Warning: /home/runner/work/sbinary/sbinary/core/src/test/scala/binaryTests.scala:190:50 
[warn] 190 |  implicit val BazFormat: Format[Baz] = viaString(Baz)
[warn]     |                                                  ^^^
[warn]     |The method `apply` is inserted. The auto insertion will be deprecated, please write `sbinary.FormatTests.Baz.apply` explicitly.
[warn] -- Warning: /home/runner/work/sbinary/sbinary/core/src/test/scala/binaryTests.scala:191:51 
[warn] 191 |  implicit val BifFormat: Format[Bif] = asProduct2(Bif)(x => (x.i, x.j))
[warn]     |                                                   ^^^
[warn]     |The method `apply` is inserted. The auto insertion will be deprecated, please write `sbinary.FormatTests.Bif.apply` explicitly.

@eed3si9n eed3si9n left a comment

Copy link
Copy Markdown
Member

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 5f4fcb9 into sbt:develop Mar 19, 2026
2 checks passed
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