You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to upgrade to 3.1.0, build started to fail due to Server.install reporting "unused local definition". It's just a warning but imo it shouldn't be there and with "fatal warnings" it breaks builds.
Describe the bug
When trying to upgrade to 3.1.0, build started to fail due to Server.install reporting "unused local definition". It's just a warning but imo it shouldn't be there and with "fatal warnings" it breaks builds.
To Reproduce
Steps to reproduce the behaviour:
Example:
https://github.com/m-kalai/zio-http-unused-local/blob/master/src/main/scala/cz/kalai/issue/ZioHttpApp.scala
fails with
Reproduced with Scala 3.3.5 and 3.6.4.
Note: Removing line 14 with ZIO.logInfo makes it work.
Expected behaviour
No warnings are generated and code compiles.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: