We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeec429 commit aced7e0Copy full SHA for aced7e0
doc-tool/src/dotty/tools/dottydoc/staticsite/Site.scala
@@ -409,7 +409,7 @@ case class Site(
409
}
410
411
private def toSourceFile(f: JFile): SourceFile =
412
- SourceFile(AbstractFile.getFile(new File(f)), Source.fromFile(f).toArray)
+ SourceFile(AbstractFile.getFile(new File(f.toPath)), Source.fromFile(f).toArray)
413
414
private def collectFiles(dir: JFile, includes: String => Boolean): Array[JFile] =
415
dir
0 commit comments