Summary: opAssign to in declaration broken in dmd 1.074 beta1
           Product: D
           Version: future
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD

--- Comment #0 from Jakob Bornecrantz <> 2012-04-03 
11:41:54 PDT ---
The following code works in dmd.1.073 but is broken in dmd.1.074.

struct Foo {}

struct Bar {
    void opAssign(Foo f) {}

void test() {
    Foo f;
    Bar bar = f; // Broken in dmd 1.074-beta

    Bar baz;
    baz = f; // Works as expected.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to