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 error reporting for incorrect use of slice. #1420

Merged
merged 1 commit into from May 27, 2020
Merged

Fix error reporting for incorrect use of slice. #1420

merged 1 commit into from May 27, 2020

Conversation

vpetrovykh
Copy link
Member

The error message for incorrect use of slice was tied to the context of
the slice start expression, which may not be present. The expression
being sliced is guaranteed to be present, though, so the error can be
anchored to that.

Fixes #1135

The error message for incorrect use of slice was tied to the context of
the slice start expression, which may not be present. The expression
being sliced is guaranteed to be present, though, so the error can be
anchored to that.

Fixes #1135
@vpetrovykh vpetrovykh requested review from 1st1 and elprans May 27, 2020 03:45
@vpetrovykh vpetrovykh merged commit b31c08a into master May 27, 2020
@vpetrovykh vpetrovykh deleted the slice branch May 27, 2020 06:42
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.

Trying to slice wrong type produces InternalServerError (only right index)
2 participants