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

catch out of bounds slice/array index access #145

Merged
merged 4 commits into from
Oct 27, 2021

Conversation

Mido-sys
Copy link
Contributor

@Mido-sys Mido-sys commented Jul 21, 2021

An error will return to the user if they try to access an index that doesn't exist.

Example: array index out of bounds, got index 5, while array size is 5

@Mido-sys
Copy link
Contributor Author

@paganotoni Just a friendly reminder :)

@paganotoni
Copy link
Member

Thanks for the reminder @Mido-sys. I left a couple of minor things to tweak. this is looking good.

@Mido-sys
Copy link
Contributor Author

@paganotoni sounds good. Thank you.

@Mido-sys
Copy link
Contributor Author

@paganotoni, Sorry, I misread your comment. Did you mean that you left some notes for me to improve?

@paganotoni
Copy link
Member

Yes just a few small things.

@Mido-sys
Copy link
Contributor Author

@paganotoni, where did you leave your comments? I can't find it.

compiler.go Outdated Show resolved Hide resolved
variables_test.go Outdated Show resolved Hide resolved
@paganotoni
Copy link
Member

@Mido-sys I had that review in pending status. now sent. Thanks for asking.

@paganotoni paganotoni merged commit 140b5c2 into gobuffalo:master Oct 27, 2021
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