Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Dottydoc generation broken on Windows because of illegal filenames #3349
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
To demonstrate the difference, the following scala script fails under cygwin, but passes under WSL:
The relevant difference between the two windows environments is that the cygwin environment depends on a Windows version of the JVM, whereas WSL uses an Ubuntu Linux JVM version.