Bug 3126 – Char concatenation doesn't work for wstring

Status
RESOLVED
Resolution
DUPLICATE
Severity
minor
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2009-07-02T02:30:00Z
Last change time
2011-09-07T01:49:55Z
Keywords
rejects-valid
Assigned to
nobody
Creator
dfj1esp02

Comments

Comment #0 by dfj1esp02 — 2009-07-02T02:30:17Z
--- 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 by dfj1esp02 — 2009-07-02T05:38:31Z
Well, it's documented, only missing on the array page.
Comment #2 by yebblies — 2011-06-10T10:55:16Z
Works in D2.053, still fails in D1.068
Comment #3 by yebblies — 2011-09-07T01:49:55Z
*** This issue has been marked as a duplicate of issue 2169 ***