http://d.puremagic.com/issues/show_bug.cgi?id=6510
--- Comment #5 from Don <[email protected]> 2011-08-17 06:52:06 PDT --- Partially reduced test case. The UNUSED static function seems to be necessary. struct Stack(U) { struct Proxy { int[] data; void shrink(){ data = data[0..0]; } } Proxy stack; void pop() { stack.shrink(); } } int bug6510() { static void UNUSED() { Stack!(int) junk; junk.pop(); } Stack!(int) opstk; opstk.pop(); return 3; } static assert(bug6510()); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
