guardian-for-apache-kafka icon indicating copy to clipboard operation
guardian-for-apache-kafka copied to clipboard

Disable lint-byname-implicit because of Scala bug

Open mdedetrich opened this issue 2 years ago • 0 comments

What is currently missing?

Currently the Scala compiler is generating warnings with Block result was adapted via implicit conversion (method apply) taking a by-name parameter error but it turns out that this is a false positive because the error is being thrown in library code that uses macros and not actual user written code, see https://github.com/scala/bug/issues/12072

How could this be improved?

Rather than polluting the codebase with @nowarn("cat=lint-byname-implicit") everywhere we should just disable the -Xlint:byname-implicit check until it gets resolved in upstream Scala.

Is this a feature you would work on yourself?

  • [X] I plan to open a pull request for this feature

mdedetrich avatar Jan 20 '22 03:01 mdedetrich