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


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugd...@yahoo.com.au
            Summary|Regression: assignment at   |Regression: struct
                   |declaration no longer       |initialization no longer
                   |supports opAssign or ctor   |supports ctor overloads
                   |overloads                   |


--- Comment #1 from Don <clugd...@yahoo.com.au> 2009-10-06 01:14:23 PDT ---
My fault. This is a consquence of the fix to bug 2702. Previously it used to
accept any old garbage inside a struct initializer; now it only accepts static
opCall. It should definitely allow constructors as well. 

Based on my reading of the spec, the fact that opAssign used to work seems to
have been a bug:
"assignment is defined as copying the contents of one object over another,
already initialized, type" (struct.html)

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

Reply via email to