Skip to content

Conversation

jhance
Copy link
Collaborator

@jhance jhance commented Sep 22, 2021

Description

Fixes mypyc/mypyc#702 by replacing "'" with "redef",
although this assumes nothing else will ever use demangling
for now.

Test Plan

Only locals need any fix; a run testcase was added to verify
that it works already for globals, and since the fix for locals
is on the ir level only an ir testcase is added.

Fixes mypyc/mypyc#702 by replacing "'" with "__redef__",
although this assumes nothing else will ever use demangling
for now.

Only locals need any fix; a run testcase was added to verify
that it works already for globals, and since the fix for locals
is on the ir level only an ir testcase is added.
@JukkaL JukkaL merged commit 20fa54a into python:master Sep 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

Successfully merging this pull request may close these issues.

mypyc generates bogus identifiers when using allow-redefinition
2 participants