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

[mypyc] Emit errors for unsupported class defs (and don't crash) #15726

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ichard26
Copy link
Collaborator

Would this be cleaner if this check was done in the prebuild visitor? I couldn't find a reliable way to determine whether a class definition is within a if statement or any other block unfortunately.

@JukkaL JukkaL closed this Feb 28, 2024
@JukkaL JukkaL reopened this Feb 28, 2024
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.

3 participants