[Issue 6939] wrong type qualifier combination

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 12 12:02:45 PST 2011


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



--- Comment #3 from timon.gehr at 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: -------


More information about the Digitalmars-d-bugs mailing list