You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a use case and a link in the same comment crashes scaladoc:
packagetestclassA {
/** This will crash scaladoc: [[test.A]] * @usecase def f(t:Int):Int*/deff[T](t:T):T= t
}
results in:
sun@sun-laptop:~/Desktop$ ~/scala-trunk/build/pack/bin/scaladoc test.scala
Exception in thread "main" java.lang.RuntimeException: cannot find template in unfinished universe
at scala.sys.package$.error(package.scala:27)
at scala.tools.nsc.doc.model.ModelFactory.findTemplate(ModelFactory.scala:62)
...
The text was updated successfully, but these errors were encountered:
Commit Message Bot (anonymous) said:
(ureche in r26048) Changed the way use cases are handled in scaladoc.
If use cases are present, the original member disappears from the list. References #5054, but needs more work on the html part.
If use cases are present along with links, scaladoc doesn't crash anymore. Closes #4898.
Adding a use case and a link in the same comment crashes scaladoc:
results in:
The text was updated successfully, but these errors were encountered: