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

Members of top-level classes in Flutter's documentation don't get indexed correctly #66

Open
Hixie opened this issue Oct 31, 2023 · 0 comments

Comments

@Hixie
Copy link

Hixie commented Oct 31, 2023

We received the following issue (flutter/flutter#47553):

Flutter's Dash docset does not properly index members of top-level elements (classes, enums).

To demonstrate, we can look at how Dash indexes dart:core through its native Dartdoc support.

I bring up Dash, type RegExp., and see that the class and its members are enumerated:

Screen Shot 2019-12-20 at 2 06 54 PM

Now, the same with the Flutter docset (which also indexes RegExp):

Screen Shot 2019-12-20 at 2 08 12 PM

No members found.

But the type is indexed, here's what we see when we remove the trailing .:

Screen Shot 2019-12-20 at 2 09 52 PM

Class and constructor descriptions.

We aren't seeing the members because Flutter's SQLite index is malformed. Instead of including a fully-qualified name of each member, it includes a simple identifier.

Compare:

Screen Shot 2019-12-20 at 2 14 45 PM

with Dash's native dartdoc support:

Screen Shot 2019-12-20 at 2 12 37 PM

We're not sure whether we're holding dashing incorrectly or if it's something dashing doesn't support. Any ideas?

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

No branches or pull requests

1 participant