ruff/crates/red_knot_python_semantic
Dhruv Manilawala 43bf1a8907
Add tests for "keyword as identifier" syntax errors (#14754)
## Summary

This is related to #13778, more specifically
https://github.com/astral-sh/ruff/issues/13778#issuecomment-2513556004.

This PR adds various test cases where a keyword is being where an
identifier is expected. The tests are to make sure that red knot doesn't
panic, raises the syntax error and the identifier is added to the symbol
table. The final part allows editor related features like renaming the
symbol.
2024-12-05 17:32:48 +05:30
..
resources Add tests for "keyword as identifier" syntax errors (#14754) 2024-12-05 17:32:48 +05:30
src [red-knot] Fallback for typing._NoDefaultType (#14783) 2024-12-05 09:17:55 +01:00
tests mdtest: include test name in printed rerun command (#14684) 2024-11-30 11:01:06 +00:00
build.rs Modernize build scripts (#13837) 2024-10-20 22:35:35 +01:00
Cargo.toml [red-knot] Property tests (#14178) 2024-12-03 13:54:54 +01:00