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

Unmangle names consistently when using --allow-redefinition #6229

Open
JukkaL opened this issue Jan 21, 2019 · 0 comments
Open

Unmangle names consistently when using --allow-redefinition #6229

JukkaL opened this issue Jan 21, 2019 · 0 comments
Labels
bug mypy got something wrong priority-1-normal topic-error-reporting How we report errors topic-usability

Comments

@JukkaL
Copy link
Collaborator

JukkaL commented Jan 21, 2019

I expect that some error message will sometimes contain unmangled variable names with prime suffixes (such as foo'). We should review all error message generation code and add unmangle() calls as needed. This is not super urgent since a single extra prime is not visually very prominent, but it's still annoying when it happens.

This is a follow-up issue to #6197 (see the PR for examples of what needs to be done).

@AlexWaygood AlexWaygood added the topic-error-reporting How we report errors label Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug mypy got something wrong priority-1-normal topic-error-reporting How we report errors topic-usability
Projects
None yet
Development

No branches or pull requests

2 participants