Skip to content
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

Scaladoc: Fix regression with extension methods not being shown in searchbar #14779

Merged
merged 1 commit into from Mar 25, 2022

Conversation

jchyb
Copy link
Contributor

@jchyb jchyb commented Mar 25, 2022

An error was introduced in 598b8d3 that made it so that some methods were incorrectly omitted from the search bar. This was caused by mistakenly filtering members with defined inheritedFrom methods instead of the ones with empty. m.inheritedFrom.isEmpty became m.inheritedFrom.fold(false)(_.isSourceSuperclassHidden)) but should have been m.inheritedFrom.fold(true)(_.isSourceSuperclassHidden)) - the intent was to also allow to search for inherited from hidden superclasses, but not exclusively, like it was done by mistake.

Fixes #14778

https://scala3doc.virtuslab.com/pr-fix-searchbar-extensions/scala3/index.html

An error was introduced in 598b8d3
that made it so that some methods were unnecesarily ommited from the
searching function.
@pikinier20 pikinier20 merged commit c2c9b10 into scala:main Mar 25, 2022
@Kordyjan Kordyjan added this to the 3.1.3 milestone Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scaladoc: Some functions not shown in scaladoc searchbar
3 participants