[Issue 6940] immutable(int*)* and int** do not combine

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 16 19:44:48 PST 2011


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



--- Comment #1 from Kenji Hara <k.hara.pg at gmail.com> 2011-11-16 19:44:01 PST ---
> static assert(is(typeof(x) : const(int*)*)); // ok

> static assert(is(typeof(a) : const(int[])[])); // ok

I think these two lines should not compile.
They are the part of bug 4251.

Then, Both two cases should not have common type, IMO.

-- 
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