Open
Description
Version 0.1.5
import cats.effect.Resource
val foo: Resource[A, B] = ???
val x = foo.map(_ => ())
The rule TypelevelAs.as
will complain and suggest to rewrite the map
line to .void
.
Resource
does not have a void
method :)
The check should probably be limited to types that provide the necessary functions.
Metadata
Metadata
Assignees
Labels
No labels