Skip to content

Avoid debug assertion around NFKC renames#11249

Merged
charliermarsh merged 1 commit intomainfrom
charlie/n
May 2, 2024
Merged

Avoid debug assertion around NFKC renames#11249
charliermarsh merged 1 commit intomainfrom
charlie/n

Conversation

@charliermarsh
Copy link
Copy Markdown
Member

@charliermarsh charliermarsh commented May 2, 2024

Summary

This assertion isn't quite correct, since with NFKC normalization, two identifiers can have different lengths but map to the same binding.

Closes #11238.

Closes #11239.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented May 2, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@charliermarsh charliermarsh merged commit e62fa4e into main May 2, 2024
@charliermarsh charliermarsh deleted the charlie/n branch May 2, 2024 17:59
@charliermarsh charliermarsh added the bug Something isn't working label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rule N805 cause panic Rule ICN001 cause panic

1 participant