[Issue 6924] An alias this problem to implement a Typedef

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 12 06:57:14 PST 2011


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


Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> 2011-11-12 06:56:29 PST ---
I think this is a same issue with bug 6174.

The assignment expression

  a3b = [1, 2, 3];

is translated to

  a3b.data = [1, 2, 3];

, and current dmd does not allow indirect initialization of members with
assignment.

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

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