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

Pointer Reform: proper slicing and indexing #1053

Merged
merged 1 commit into from Jun 5, 2018
Merged

Conversation

andrewrk
Copy link
Member

@andrewrk andrewrk commented Jun 5, 2018

  • enable slicing for single-item ptr to arrays
  • disable slicing for other single-item pointers
  • enable indexing for single-item ptr to arrays
  • disable indexing for other single-item pointers

see #770
closes #386

@andrewrk andrewrk added the breaking Implementing this issue could cause existing code to no longer compile or have different behavior. label Jun 5, 2018
 * enable slicing for single-item ptr to arrays
 * disable slicing for other single-item pointers
 * enable indexing for single-item ptr to arrays
 * disable indexing for other single-item pointers

see #770
closes #386
@andrewrk andrewrk merged commit e53b683 into master Jun 5, 2018
@andrewrk andrewrk deleted the pointer-reform-slicing branch June 5, 2018 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Implementing this issue could cause existing code to no longer compile or have different behavior.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

design flaw: Access out of bounds on pointer to array
1 participant