-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Red Knot panics when analyzing black #13478
Comments
## Summary Encountered this while running red-knot benchmarks on the `black` codebase. Fixes two of the issues in #13478. ## Test Plan Added a regression test.
With #14091 merged (which fixed the issue in However, the debug version still fails due to some new debug assertions:
ruff/crates/red_knot_python_semantic/src/types/infer.rs Lines 3751 to 3760 in a7a78f9
|
For context, the |
The two remaining panics from the original description and the assertions mentioned in my previous comment are now resolved. But there is a new panic, which I have opened a separate ticket for (#14307) and added to the list above. |
Red knot can now run on the full Currently it takes 120 ms for a cold run (40 ms for the |
tests/data/cases/pep_572_do_not_remove_parens.py
Backtrace
src/blib2to3/pgen2/driver.py
Logs
tests/data/miscellaneous/pattern_matching_invalid.py
Backtrace
[red-knot] Panics on generic type alias #14307
The text was updated successfully, but these errors were encountered: