Skip to content

Paste with Edits causes self import #58716

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
navya9singh opened this issue May 30, 2024 · 0 comments Β· Fixed by #58718
Closed

Paste with Edits causes self import #58716

navya9singh opened this issue May 30, 2024 · 0 comments Β· Fixed by #58718
Assignees

Comments

@navya9singh
Copy link
Member

πŸ”Ž Search Terms

paste edits

πŸ•— Version & Regression Information

Nightly build with vscode insiders

⏯ Playground Link

No response

πŸ’» Code

const k = 1;

console.log(k);
/**/

Copy console.log(k); and paste it at /**/ in the same file.

πŸ™ Actual behavior

export import { k } from "./b";

const k = 1;

console.log(k);console.log(k);

πŸ™‚ Expected behavior

const k = 1;

console.log(k);
console.log(k);

Additional information about the issue

No response

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 a pull request may close this issue.

1 participant