Open
Description
Compiler version
3.3.3
Minimized code
package my_package
import enumeratum._
sealed trait SomeEnum extends EnumEntry
case object SomeEnum extends Enum[SomeEnum] {
val values = findValues
case object A extends SomeEnum
case object B extends SomeEnum
}
libraryDependencies += "com.beachape" %% "enumeratum" % "1.7.3"
Use doc
in SBT
Output
[warn] -- Warning: src\main\scala\my_package\SomeEnum.scala:8:6 -----------------------
[warn] 8 | val values = findValues
[warn] | ^
[warn] | No DRI found for query: Enum
Expectation
No warning. And if there is a warning, it should be actionable. What is DRI? Where was it not found?