Skip to content

Automatically adding an import for current module #3719

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

Closed
alanz opened this issue Jul 16, 2023 · 1 comment
Closed

Automatically adding an import for current module #3719

alanz opened this issue Jul 16, 2023 · 1 comment
Labels
status: needs triage type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..

Comments

@alanz
Copy link
Collaborator

alanz commented Jul 16, 2023

Using HLS at fb5e5c9

Steps to reproduce

Open a file with a class definition in it.

Edit a function to be a synonym for a class method

Expected behaviour

Nothing but my edit

Actual behaviour

An import line gets added for the current module, causing a loop.

image

@alanz alanz added type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc.. status: needs triage labels Jul 16, 2023
@michaelpj
Copy link
Collaborator

I believe this is a duplicate of #2270 (item 3)

@michaelpj michaelpj closed this as not planned Won't fix, can't repro, duplicate, stale Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Projects
None yet
Development

No branches or pull requests

2 participants