[Issue 3827] automatic joining of adjacent strings is bad

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 10 18:22:12 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=3827



--- Comment #10 from bearophile_hugs at eml.cc 2010-11-10 18:21:06 PST ---
The C# language, that has a very refined design, refuses this code, showing
that it doesn't perform automatic joining of adjacent strings:


public class Test {
    public static void Main() {
        string s = "hello " "world";
    }
}


prog.cs(3,35): error CS1525: Unexpected symbol `world'
Compilation failed: 1 error(s), 0 warnings

-- 
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