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

Issue 6611 - better error message for array post increment/decrement #717

Merged
merged 1 commit into from
Feb 19, 2012

Conversation

yebblies
Copy link
Member

Detect attempts to use post increment/decrement on an array slice, and print a better error message.

http://d.puremagic.com/issues/show_bug.cgi?id=6611

@WalterBright
Copy link
Member

Please add in a 'fail' test case to exercise the code.

Detect attempts to use post increment/decrement on an array slice, and print a better error message.
@yebblies
Copy link
Member Author

Done. I also tweaked the error message to print the expression being post-modified.

WalterBright added a commit that referenced this pull request Feb 19, 2012
Issue 6611 - better error message for array post increment/decrement
@WalterBright WalterBright merged commit d082916 into dlang:master Feb 19, 2012
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