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



--- Comment #3 from timon.g...@gmx.ch 2011-11-12 12:02:03 PST ---
inout is buggy too: inout and shared are combined to shared const.

inout(int[]) foo(inout int[] x, shared int[] y, inout int* a, shared int* b){
    static assert(!is(typeof(1?x:y))); // fail
    static assert(!is(typeof(1?a:b))); // fail
    return x;
}

Both assertions should pass.

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

Reply via email to