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

Properly recognize Literal expressions as non-dynamic indices. #2537

Conversation

jimblandy
Copy link
Member

Restore negative_index test in tests/wgsl-errors.rs, as part of the invalid_arrays test function.

Restore `negative_index` test in `tests/wgsl-errors.rs`, as part of
the `invalid_arrays` test function.
@jimblandy jimblandy requested a review from teoxoy October 5, 2023 20:52
Copy link
Member

@teoxoy teoxoy left a comment

Choose a reason for hiding this comment

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

👍

@teoxoy teoxoy merged commit f44d645 into gfx-rs:const-expressions-2 Oct 5, 2023
teoxoy pushed a commit that referenced this pull request Oct 5, 2023
Restore `negative_index` test in `tests/wgsl-errors.rs`, as part of
the `invalid_arrays` test function.
jimblandy added a commit that referenced this pull request Oct 7, 2023
Restore `negative_index` test in `tests/wgsl-errors.rs`, as part of
the `invalid_arrays` test function.
teoxoy pushed a commit that referenced this pull request Oct 9, 2023
Restore `negative_index` test in `tests/wgsl-errors.rs`, as part of
the `invalid_arrays` test function.
teoxoy pushed a commit that referenced this pull request Oct 10, 2023
Restore `negative_index` test in `tests/wgsl-errors.rs`, as part of
the `invalid_arrays` test function.
jimblandy added a commit that referenced this pull request Oct 12, 2023
Restore `negative_index` test in `tests/wgsl-errors.rs`, as part of
the `invalid_arrays` test function.
teoxoy pushed a commit that referenced this pull request Oct 12, 2023
Restore `negative_index` test in `tests/wgsl-errors.rs`, as part of
the `invalid_arrays` test function.
@jimblandy jimblandy deleted the resuscitate-negative-array-index-test branch October 22, 2023 00:38
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