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

fix: prefer latter fully qualified name parts when building trigrams for fuzzy search #6482

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

kasiaMarek
Copy link
Contributor

resolves: #6475

@kasiaMarek kasiaMarek force-pushed the i6475 branch 3 times, most recently from e21a048 to 3a3d49a Compare June 6, 2024 09:27
@kasiaMarek kasiaMarek requested a review from tgodzik June 6, 2024 10:35
@@ -1277,7 +1277,6 @@ class AutoImplementAbstractMembersSuite extends BaseCodeActionSuite {
|
|trait Base:
| def foo(x: Int): Int
| def bar(x: String): String
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove these?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because the ordering doesn't seem to be stable (or somehow this PR changed it for 3.3.1, though it really doesn't seem related). I can probably sort but for this example it doesn't matter if there is more than one method.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would be good though to have them implemented the same way they are in the parent trait. I can imagine people complaining if this is not the case

Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kasiaMarek kasiaMarek merged commit ac36e97 into scalameta:main Jun 14, 2024
24 checks passed
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.

Auto-import is not suggested for classes with long name
2 participants