4

I'm currently using a macro (ZIO's @mockable) whose generated code is causing a compilation error that is causing my build to fail:

[error] /home/me/xxx/backend/<macro>:5:204: parameter value rts in anonymous function is never used
[error]   val compose: _root_.zio.URLayer[_root_.zio.Has[_root_.zio.test.mock.Proxy], zio.Has[my.package.database.firestore.Firestore.Service]] = _root_.zio.ZLayer.fromServiceM(((proxy) => withRuntime.map(((rts) => {
[error]                                                                                                                                                                                                            ^
[error] one error found

How can I suppress this warning? I've tried adding "-Wconf:src=.*<macro>:silent" (with and without escaping < and >) but with no luck.

Dmytro Mitin
  • 48,194
  • 3
  • 28
  • 66
tjarvstrand
  • 836
  • 9
  • 20

0 Answers0