amnaredo / test

0 stars 0 forks source link

getting dead code following this construct warning while using macroRW #230

Open amnaredo opened 2 years ago

amnaredo commented 2 years ago
case class TcpConnection(name: String, host: String, port: String)
object TcpConnection {
      implicit val tcpConnectionRw: RW[TcpConnection] = macroRW
}

This code generate following warnings:

dead code following this construct
[warn]   implicit val tcpConnectionRw: RW[TcpConnection]   = macroRW

ID: 236 Original Author: kpritam

amnaredo commented 2 years ago

We are seeing a lot of these warnings due to which it has become easy to miss out on real warnings on the project. Is there a way to suppress them? @lihaoyi Original Author: mushtaq

amnaredo commented 2 years ago

I'm also seeing these warnings and hoping to suppress them Original Author: Edward-Prentice-ck