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

[FRONTEND] Always use argument names as the key for constants and signature dictionaries #4693

Merged
merged 4 commits into from
Sep 11, 2024

Conversation

Jokeren
Copy link
Contributor

@Jokeren Jokeren commented Sep 10, 2024

Previously some code supplies argument indices as the key for the dictionaries, which is actually wrong because we have changed the key type to str a few months ago.

In addition, this PR also raises a type error if a dictionary with incorrect types is used for ASTSource.

Copy link
Collaborator

@ThomasRaoux ThomasRaoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Jokeren Jokeren merged commit f03acdc into main Sep 11, 2024
7 checks passed
@Jokeren Jokeren deleted the keren/ast-error branch September 11, 2024 18:23
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.

2 participants