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

Organize Imports produces impossible imports #1535

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stephan-herrmann
Copy link
Contributor

failing test for #814

What it does

This test demonstrates (one incarnation of) the problem and might serve as a playground for fixing the issue for Organize Imports. I'm not sure what other scenarios might then require similar fixes (completion? quick fix?)

@stephan-herrmann
Copy link
Contributor Author

Expected test failure happened indeed:

----------- Expected ------------
staticprotected.ThisIsPublic.thisIsPublic
------------ but was ------------
staticprotected.ThisIsProtected.thisIsPublic
---------------------- ----------
 expected:<...ticprotected.ThisIsP[ublic].thisIsPublic> but was:<...ticprotected.ThisIsP[rotected].thisIsPublic>

@laeubi
Copy link
Contributor

laeubi commented Nov 26, 2023

@stephan-herrmann do you have any plan for a fix already? This is rather annoying behavior and confusing for the user.

@stephan-herrmann
Copy link
Contributor Author

@stephan-herrmann do you have any plan for a fix already?

no

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.

None yet

2 participants