scala / bug

Scala 2 bug reports only. Please, no questions — proper bug reports only.
https://scala-lang.org
230 stars 21 forks source link

KeySet is searchable but absent from docs #12907

Open som-snytt opened 7 months ago

som-snytt commented 7 months ago

Reproduction steps

Scala version: 2.13

keyset and genkeyset are searchable in docs but omitted.

https://www.scala-lang.org/api/current/scala/collection/MapOps.html#GenKeySetextendsAnyRef

Problem

I expect to see docs for protected classes intended for implementors.

If it's intended to hide protected classes, then they should not be searchable.

Similar for dotty https://github.com/lampepfl/dotty/issues/18946

Relatedly https://github.com/scala/bug/issues/11727