Skip to content

Weigh enums the same as classes for searching #3260

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

Merged
merged 1 commit into from
Dec 5, 2022

Conversation

parlough
Copy link
Member

@parlough parlough commented Dec 5, 2022

Now that enums support much of the same functionality as classes, it doesn't make sense to weight them as the default (4 currently). This PR weighs them the same as classes and libraries, and weighs functions the same as methods.

@parlough parlough changed the title Weight enums the same as classes for searching Weigh enums the same as classes for searching Dec 5, 2022
@srawlins srawlins merged commit bcf8b6e into dart-lang:master Dec 5, 2022
@parlough parlough deleted the misc/enum-weight-in-search branch December 5, 2022 15:40
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

Successfully merging this pull request may close these issues.

2 participants