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

2011-11-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6940 --- Comment #2 from timon.g...@gmx.ch 2011-11-17 11:40:16 PST --- (In reply to comment #1) > > static assert(is(typeof(x) : const(int*)*)); // ok > > > static assert(is(typeof(a) : const(int[])[])); // ok > > I think these two lines should not

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

2011-11-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6940 --- Comment #1 from Kenji Hara 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.