Deprecation of implicit string concatenation

Johan Engelen via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 2 02:22:38 PDT 2017


Since 2.072, implicit string concatenation is deprecated [1].
Can someone give me a link to the discussion about this?

I am wondering about the language spec changes involved.

```
   "abc"
   "def"
```
means something different than
```
   "abc"
   ~ "def"
```
right? (for example because opBinary!(“~”) can be overloaded)
The first one will apparently no longer be allowed in the future.

Did we lose the ability to break strings across lines?

Thanks,
   Johan

[1] 
https://dlang.org/changelog/2.072.0.html#deprecated_implicit_cat



More information about the Digitalmars-d mailing list