D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 3126 - Char concatenation doesn't work for wstring
Summary: Char concatenation doesn't work for wstring
Status: RESOLVED DUPLICATE of issue 2169
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Windows
: P2 minor
Assignee: No Owner
URL: http://www.digitalmars.com/d/2.0/arra...
Keywords: rejects-valid
Depends on:
Blocks:
 
Reported: 2009-07-02 02:30 UTC by anonymous4
Modified: 2011-09-07 01:49 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description anonymous4 2009-07-02 02:30:17 UTC
---
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.
Comment 1 anonymous4 2009-07-02 05:38:31 UTC
Well, it's documented, only missing on the array page.
Comment 2 yebblies 2011-06-10 10:55:16 UTC
Works in D2.053, still fails in D1.068
Comment 3 yebblies 2011-09-07 01:49:55 UTC

*** This issue has been marked as a duplicate of issue 2169 ***