Closed He-Pin closed 5 months ago
Minimally:
import java.lang.IllegalArgumentException // makes no difference
/** This class is classy. Use it.
*/
class C {
/** f does stuff!
*
* @throws IllegalArgumentException whenever
*/
def f() = throw new IllegalArgumentException
}
The issue is that scaladoc needs the class name to be fully qualified; adding an import does not help.
I did not try various scaladoc options. dottydoc runs quietly but also links nothing.
duplicate of #3695
Reproduction steps
Scala version: 2.13
refs: https://github.com/apache/incubator-pekko/issues/353 refs: https://github.com/apache/incubator-pekko/pull/682
&
Problem
unused-imports
should not be needed if it's been used in scaladoc.