Skip to content

scaladoc generate invalid api doc if class name contains / or \ #13803

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
xuwei-k opened this issue Oct 24, 2021 · 0 comments · Fixed by #13827
Closed

scaladoc generate invalid api doc if class name contains / or \ #13803

xuwei-k opened this issue Oct 24, 2021 · 0 comments · Fixed by #13827

Comments

@xuwei-k
Copy link
Contributor

xuwei-k commented Oct 24, 2021

Compiler version

  • 3.1.2-RC1-bin-20211022-f7abd32-NIGHTLY
  • 3.1.0

Minimized code

A.scala

package foo

class A

trait \/

trait /\

Output

$ tree target/scala-3.1.2-RC1-bin-20211022-f7abd32-NIGHTLY/api/foo
target/scala-3.1.2-RC1-bin-20211022-f7abd32-NIGHTLY/api/foo
├── A.html
├── \\
└── \\.html
scala3doc-bug.mov

Expectation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants