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


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[EMAIL PROTECTED]
           Keywords|                            |ice-on-valid-code
         OS/Version|Linux                       |All
            Version|2.020                       |2.019




------- Comment #2 from [EMAIL PROTECTED]  2008-11-24 11:08 -------
A slightly reduced testcase:
----------
struct R {
    this(int i, int j) { from = i, to = j; }
    int from = -1;
    int to = -2;
}

class B {
    const void bar(in R r = R(0, -1)) {}
}

class M {
    B b;

    void foo() {
        b.bar();
    }
}

class M {
        B b;

        void foo() {
                b.bar();
        }
}
----------
Assertion failure: '!needThis()' on line 166 in file 'tocsym.c'

abnormal program termination
----------


-- 

Reply via email to