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

Issues with repl variable initialization/red-declaration #38774

Closed
daggy1234 opened this issue May 22, 2021 · 1 comment
Closed

Issues with repl variable initialization/red-declaration #38774

daggy1234 opened this issue May 22, 2021 · 1 comment

Comments

@daggy1234
Copy link

daggy1234 commented May 22, 2021

  • Version: 16.1.0un
  • Platform: Darwin daggy 19.6.0 Darwin Kernel Version 19.6.0: Mon Apr 12 20:57:45 PDT 2021; root:xnu-6153.141.28.1~1/RELEASE_X86_64 x86_64 i386 MacBookPro12,1 Darwin
  • Subsystem: repl

What steps will reproduce the bug?

When I declare a variable with an error during initialization, the variable name cannot be redecalred or re-created.

How often does it reproduce? Is there a required condition?

100% of the time

What is the expected behavior?

image

When I initialize a in the end, it shouldn't error like in the js browser consoke

What do you see instead?

image

Additional information

@devsnek
Copy link
Member

devsnek commented May 22, 2021

Duplicate of #8309

@devsnek devsnek marked this as a duplicate of #8309 May 22, 2021
@devsnek devsnek closed this as completed May 22, 2021
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

No branches or pull requests

2 participants