Skip to content

Fix apply auto insertion warnings#44

Open
xuwei-k wants to merge 1 commit intosbt:developfrom
xuwei-k:apply-auto-insertion
Open

Fix apply auto insertion warnings#44
xuwei-k wants to merge 1 commit intosbt:developfrom
xuwei-k:apply-auto-insertion

Conversation

@xuwei-k
Copy link
Member

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

[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.

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.

1 participant