Skip to content

Conversation

@richardleach
Copy link
Contributor

This commit:

  • Adds support for negative keys, as per the original AELEMFAST_LEX
  • Changes an if() check for a "useless assignment to a temporary"
    into an assert, since this condition should never be true when the
    LHS is the result of an array fetch.

Both changes address feedback from @iabyn in #20063.

@richardleach richardleach force-pushed the hydahy/AELEMFASTLEX_STORE2 branch from 3ed123a to 2fe9ddb Compare September 21, 2022 21:17
This commit:
* Adds support for negative keys, as per the original AELEMFAST_LEX
* Changes an if() check for a "useless assignment to a temporary" into
  an assert, since this condition should never be true when the LHS is
  the result of an array fetch.
@richardleach
Copy link
Contributor Author

Unless anyone has objections, I'd like to merge this before the next dev release in just over a week's time.

@richardleach
Copy link
Contributor Author

These two changes were suggested by and discussed with @iabyn. No-one else has commented in a month, so I'm merging them.

@richardleach richardleach merged commit 9e99fbb into Perl:blead Oct 22, 2022
@richardleach richardleach deleted the hydahy/AELEMFASTLEX_STORE2 branch October 22, 2022 14:28
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