http://d.puremagic.com/issues/show_bug.cgi?id=7310
timon.g...@gmx.ch changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|pure function results |strongly pure function |should implicitly cast to |results should implicitly |mutable |cast to mutable, shared, | |and inout --- Comment #1 from timon.g...@gmx.ch 2012-01-18 11:55:27 PST --- On second thought, this should be the case for all type qualifiers. The following code should compile too: inout(int)[] foo(inout int)pure{return new int[1];} shared(int)[] foo()pure{return new int[1];} int[] bar()pure{return new int[1];} inout(int)[] bar(inout int){inout r = bar(); return r;} void main(){shared(int)[] a = bar();} -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------