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

Filter default arguments by name, not by index #2131

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

ting-yuan
Copy link
Collaborator

KSAnnotation.defaultArguments doesn't have arguments without defaults.
Therefore it can be shorter than KSAnnotation.arguments. Their indexes
may not match.

Fixes #2107

kuanyingchou and others added 2 commits October 3, 2024 11:16
KSAnnotation.defaultArguments doesn't have arguments without defaults.
Therefore it can be shorter than KSAnnotation.arguments. Their indexes
may not match.
@ting-yuan ting-yuan requested a review from dx404 October 3, 2024 18:17
@ting-yuan ting-yuan merged commit 10657b6 into google:main Oct 3, 2024
3 checks passed
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.

[KSP2] Default annotation argument values are sometimes missing
3 participants