www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3126] New: Char concatenation doesn't work for wstring

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3126

           Summary: Char concatenation doesn't work for wstring
           Product: D
           Version: 2.030
          Platform: x86
               URL: http://www.digitalmars.com/d/2.0/arrays.html
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid, spec
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: maxmo pochta.ru


---
string s="asd";
s=s~'a'; //works

wstring t="asd";
t=t~'a'; //fails
t~='a';  //works
---

And this feature is not documented in spec.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 02 2009
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3126


Sobirari Muhomori <maxmo pochta.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|spec                        |




--- Comment #1 from Sobirari Muhomori <maxmo pochta.ru>  2009-07-02 05:38:31
PDT ---
Well, it's documented, only missing on the array page.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 02 2009
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3126


yebblies <yebblies gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies gmail.com
            Version|2.030                       |D1


--- Comment #2 from yebblies <yebblies gmail.com> 2011-06-10 10:55:16 PDT ---
Works in D2.053, still fails in D1.068

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 10 2011