[Issue 3827] automatic joining of adjacent strings is bad

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 22 12:03:04 PST 2010


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



--- Comment #24 from bearophile_hugs at eml.cc 2010-11-22 12:01:40 PST ---
A recent note by Walter:

> Andrei's right. This is not about making it right-associative. It is about
> defining in the language that:
> 
>     ((a ~ b) ~ c)
> 
> is guaranteed to produce the same result as:
> 
>     (a ~ (b ~ c))
> 
> Unfortunately, the language cannot make such a guarantee in the face of operator
> overloading. But it can do it for cases where operator overloading is not in play.

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