http://d.puremagic.com/issues/show_bug.cgi?id=10108
Steven Schveighoffer <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #3 from Steven Schveighoffer <[email protected]> 2013-05-17 10:47:13 PDT --- Be careful with your code snippets, unless you are more explicit about the error reporting. Asserts are generally included to show what currently PASSES, not what FAILS. I was about to mark this as invalid, because the code SHOULD pass, but you are correct in that it fails. Your code should say: assert(arr.ptr !is thrPtr); // FAILS!!! or assert(arr.ptr is thrPtr); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
