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

Fixed issue with indexing property evaluated to null #1120

Merged
merged 2 commits into from Aug 27, 2021

Conversation

acizmarik
Copy link
Member

This PR fixes an issue that occurred whenever user tried to use an indexer property with an argument that was evaluated to null. This patch extends capabilities of the ExpressionNullPropagationVisitor to cover also this case.

For convenience, these expression will yield a null instead of a compilation exception.

@quigamdev quigamdev added this to the Version 3.2 milestone Aug 27, 2021
@quigamdev quigamdev merged commit d98f33c into main Aug 27, 2021
@quigamdev quigamdev deleted the fix/indexing-expression-evaluated-to-null branch August 27, 2021 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants