-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Fix recent crashes in forward refs #4120
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes the crash I reported
I'd appreciate if this could be merged soon so that I can upgrade from 0.521 |
Can you fix the merge conflict? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fixes! This looks good, but I'll still need to test this with internal Dropbox codebases once the merge conflict has been resolved.
Fixed! |
@JukkaL I also now removed some code duplication in code added for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, it's good to have less code duplication!
This adds processing of forward references in two nodes that were previously missing: `OverloadedFuncDef` and `NewTypeExpr.info`. (Note that some tests use `# type: ignore`, the original crash was discovered during serialization with errors ignored.) Fixes #4097.
Fixes #4097
This adds processing of forward references in two nodes that were previously missing:
OverloadedFuncDef
andNewTypeExpr.info
.(Note that some tests use
# type: ignore
, the original crash was discovered during serialization with errors ignored.)