Skip to content

Comments

Fix issue 3827 - Deprecate implicit string concatenation#6155

Merged
WalterBright merged 2 commits intodlang:masterfrom
mathias-lang-sociomantic:deprecate-implicit-concat
Sep 28, 2016
Merged

Fix issue 3827 - Deprecate implicit string concatenation#6155
WalterBright merged 2 commits intodlang:masterfrom
mathias-lang-sociomantic:deprecate-implicit-concat

Conversation

@mathias-lang-sociomantic
Copy link
Contributor

@mathias-lang-sociomantic mathias-lang-sociomantic commented Sep 26, 2016

Implicit string concatenation is an old feature that can now be replaced by explicit concatenation.
It was also a source of bug, even for experienced D programmer, and the deprecation has been agreed
on in 2010: http://forum.dlang.org/post/ibi742$gi2$1@digitalmars.com

Removed in:

And the spec P.R.: dlang/dlang.org#1487

Ping @WalterBright @andralex for re-approval.

mathias-lang-sociomantic added a commit to mathias-lang-sociomantic/dlang.org that referenced this pull request Sep 26, 2016
@mathias-lang-sociomantic mathias-lang-sociomantic changed the title Deprecate implicit string concatenation Fix issue 3827 - Deprecate implicit string concatenation Sep 26, 2016
@ghost
Copy link

ghost commented Sep 27, 2016

@mathias-lang-sociomantic
Copy link
Contributor Author

One more https://github.com/dlang/phobos/blob/master/std/getopt.d#L1661

Hum ? I see a concatenation on that line(permalink for ref).

@ghost
Copy link

ghost commented Sep 27, 2016

Local phobos was not up to date. Sorry.

Implicit string concatenation is an old feature that can now be replaced by explicit concatenation.
It was also a source of bug, even for experienced D programmer, and the deprecation has been agreed
on in 2010: http://forum.dlang.org/post/ibi742$gi2$1@digitalmars.com
@WalterBright WalterBright merged commit 4fa0ddf into dlang:master Sep 28, 2016
@mathias-lang-sociomantic mathias-lang-sociomantic deleted the deprecate-implicit-concat branch September 28, 2016 08:53
@schveiguy
Copy link
Member

Nice!

mathias-lang-sociomantic added a commit to mathias-lang-sociomantic/dlang.org that referenced this pull request Oct 20, 2016
mathias-lang-sociomantic added a commit to mathias-lang-sociomantic/dlang.org that referenced this pull request Oct 24, 2016
PetarKirov added a commit to PetarKirov/D-YAML that referenced this pull request Nov 4, 2016
Implicit string litaral concatenation was deprecated with
this DMD PR: dlang/dmd/pull/6155.
PetarKirov added a commit to wilzbach/D-YAML that referenced this pull request Nov 15, 2016
Implicit string litaral concatenation was deprecated with
this DMD PR: dlang/dmd/pull/6155.
PetarKirov added a commit to PetarKirov/mustache-d that referenced this pull request Nov 15, 2016
Implicit string litaral concatenation was deprecated with
this DMD PR: dlang/dmd#6155.
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.

4 participants