lloydmeta / enumeratum

A type-safe, reflection-free, powerful enumeration implementation for Scala with exhaustive pattern match warnings and helpful integrations.
MIT License
1.18k stars 146 forks source link

ScalaDoc warnings in any code using the library #391

Open OndrejSpanel opened 3 months ago

OndrejSpanel commented 3 months ago

Any code using this library gets following ScalaDoc warning when generating its own ScalaDoc:

[warn] -- Warning: src\main\scala\my_package\SomeEnum.scala:9:6 -----------------------
[warn] 9 |  val values = findValues
[warn]   |      ^
[warn]   |      No DRI found for query: Enum

I am not sure if anything can be done with this in Enumeratum, perhaps it is ScalaDoc issue instead? I have reported it there as well as https://github.com/scala/scala3/issues/20028