http://d.puremagic.com/issues/show_bug.cgi?id=7355
Summary: inout incorrectly resolved if the same type has both mutable and immutable parts Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: timon.g...@gmx.ch --- Comment #0 from timon.g...@gmx.ch 2012-01-23 16:41:58 PST --- DMD 2.058head inout(int*)* foo(inout(int*)* x){return x;} immutable(int)** x; static assert(is(typeof(foo(x))==const(int*)*)); Error: static assert (is(typeof(foo((__error))) == const(int*)*)) is false The assertion should pass. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------