Closed
Description
As reported on gitter recently by @DSouzaM:
[doc info] Generating doc page for: dotty.tools.repl.terminal.LazyList$.~:$
Exception in thread "main" java.nio.file.FileSystemException: /mnt/c/Users/mattd_000/Documents/code/dotty/docs/_sit
e/api/dotty/tools/repl/terminal/LazyList$/~:$.html: Invalid argument
The corresponding classfile is called LazyList$$tilde$colon$.class
, we should use the same encoding (obtained with the method Name#mangledString
) for the html files. According to @felixmulder the relevant code is at https://github.com/lampepfl/dotty/blob/b7fbb3919ea6a81d170c0f34a1197f525ac964e1/doc-tool/src/dotty/tools/dottydoc/staticsite/Site.scala#L202