http://d.puremagic.com/issues/show_bug.cgi?id=8185
--- Comment #35 from Denis Shelomovskij <verylonglogin....@gmail.com> 2012-06-04 19:18:33 MSD --- For Jonathan M Davis: here (as before) when I say "optimization" I mean "doesn't behave such way that can be optimized" which means "doesn't behave such way that is expected/desired (IMHO)/etc.". Example (for everybody): --- int f(size_t) pure; __gshared int tmp; void g(size_t, ref int dummy = tmp) pure; void h(size_t a, size_t b) pure { int res = f(a); g(b); assert(res == f(a)); // may fail, no guaranties by language! } --- So pure looks for me more then just useless. It looks dangerous because it confuses people and forces them to think that the second `assert` will pass. At least, with existing docs (or with pull 128). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------