Skip to content

Conversation

@scop
Copy link
Member

@scop scop commented Sep 24, 2022

Exclude known problematic/unportable cases involving * and @ instead of all index expressions.

To me, skipping simplifications of all index expressions within arithmetic because there are a few cases where it cannot be done is somewhat unfortunate. I believe the problematic cases are rare in practice, because expressions such as ${!a[*]}, ${#a[*]} where * and @ are commonly present are already (and need to be) skipped due to other reasons besides what's in the index.

Exclude known problematic/unportable cases involving `*` and `@`
instead of all index expressions.

See commit 9c62772 for more info.
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.

1 participant