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 CTFE mutation of string literals #216

Merged
merged 2 commits into from Jul 8, 2011

Conversation

donc
Copy link
Collaborator

@donc donc commented Jul 8, 2011

Fixes the wrong-code bug reported by Stephan Dilly on the dmdbeta mailing list.
Any string literal which is sliced and then duped, wasn't being duplicated.

Don Clugston added 2 commits July 8, 2011 16:20
Fixes bug found by Stephan Dilly. We need to resolve slices before duping,
otherwise copyLiteral doesn't work.
WalterBright added a commit that referenced this pull request Jul 8, 2011
Fix CTFE mutation of string literals
@WalterBright WalterBright merged commit 27b73cb into dlang:master Jul 8, 2011
braddr pushed a commit to braddr/dmd that referenced this pull request Sep 15, 2011
small bugfix for std.range.lockstep.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants