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

[REG2.063] Disable enhancement feature 7444 #2673

Merged
merged 1 commit into from
Oct 20, 2013
Merged

Conversation

9rnsr
Copy link
Contributor

@9rnsr 9rnsr commented Oct 16, 2013

The enhancement 7444 has been introduced in 2.063. But now, there's some issues which are not easy to immediately resolve.

I'd suggest to disable the feature 7444 in 2.064 release.

Existing issues:

Issue 11276 - Spurious "explicit slice assignment ...[] is better" warning message in Phobos
To enforce slice + assign syntax a[] = b[] may cause problems with generic code.

Issue 11244 - Invalid warning about slice assignment
A case yet difficult to make it clear - combination with operator overloading.

Existing issues:

http://d.puremagic.com/issues/show_bug.cgi?id=11276
To enforce slice + assign syntax `a[] = b[]` may cause problems with generic code.

http://d.puremagic.com/issues/show_bug.cgi?id=11244
A case yet difficult to make it clear - combination with operator overloading.
@ghost
Copy link

ghost commented Oct 16, 2013

Thanks, this also fixes the msgpack issue. What's most problematic is not knowing which code causes the diagnostic, since the diagnostic is emitted inside of Phobos.

WalterBright added a commit that referenced this pull request Oct 20, 2013
[REG2.063] Disable enhancement feature 7444
@WalterBright WalterBright merged commit 4487115 into dlang:master Oct 20, 2013
WalterBright added a commit that referenced this pull request Oct 20, 2013
[REG2.063] Disable enhancement feature 7444
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