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

Fix LongGen accidentally using special cases when none are desired #9960

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

jlowe
Copy link
Member

@jlowe jlowe commented Dec 5, 2023

Fixes #9933.

LongGen had a bug where callers passing an empty list or None for the special cases (i.e.: meaning they do not want any special cases) were actually getting the default special case list. This fixes the issue by using a hidden sentinel value as the default argument and only using the default special cases when that default sentinel argument is the argument that is seen during init.

Signed-off-by: Jason Lowe <jlowe@nvidia.com>
@jlowe jlowe added the test Only impacts tests label Dec 5, 2023
@jlowe jlowe self-assigned this Dec 5, 2023
@jlowe
Copy link
Member Author

jlowe commented Dec 5, 2023

build

@jlowe jlowe merged commit 7e30bde into NVIDIA:branch-23.12 Dec 5, 2023
38 checks passed
@jlowe jlowe deleted the fix-long-gen-special-cases branch December 5, 2023 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Only impacts tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants