http://d.puremagic.com/issues/show_bug.cgi?id=6865
Summary: inout matching removes shared qualifier Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: wrong-code Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: k.hara...@gmail.com --- Comment #0 from Kenji Hara <k.hara...@gmail.com> 2011-10-30 06:57:19 PDT --- shared(inout(int)) foo(shared(inout(int)) n){ return n; } void main() { shared(const(int)) n; static assert(is(typeof(foo(n)) == shared(const(int)))); // test.d(6): Error: static assert // (is(const(int) == shared(const(int)))) is false } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------