[Issue 3827] automatic joining of adjacent strings is bad
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 16 19:40:08 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3827
--- Comment #20 from bearophile_hugs at eml.cc 2010-11-16 19:38:56 PST ---
(In reply to comment #19)
> (In reply to comment #17)
> > Not that there's any real use case for "this" "that" anyway. And those rare
> > use cases
>
> I use automatic joining all the time for long string literals. I want them to
> span multiple source lines without containing line breaks.
> No, not a rarely used feature.
Stewart Gordon was just talking about code like:
a ~ "this" "that"
where a is a string[].
To join multiple lines you may add a ~ at their end:
string text = "I use automatic joining all the time for long string literals. I
want them to " ~
"span multiple source lines without containing line breaks. " ~
"No, not a rarely used feature.";
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list