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 issue 7785 [CTFE] ICE when slicing pointer to variable #851

Merged

Conversation

donc
Copy link
Collaborator

@donc donc commented Mar 30, 2012

Disallow slicing of pointers to non-arrays.
Disallow non-zero indexing of pointers to non-arrays.

Disallow slicing of pointers to non-arrays.
Disallow non-zero indexing of pointers to non-arrays.
(This commit doesn't implement p[0] = x yet, since it would be very messy).
WalterBright added a commit that referenced this pull request Mar 31, 2012
Fix issue 7785 [CTFE] ICE when slicing pointer to variable
@WalterBright WalterBright merged commit bd6b7d2 into dlang:master Mar 31, 2012
WalterBright added a commit that referenced this pull request Mar 31, 2012
braddr pushed a commit to braddr/dmd that referenced this pull request Oct 22, 2012
[trivial] Fix typo in std.format ddoc.
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