http://d.puremagic.com/issues/show_bug.cgi?id=9957
--- Comment #4 from Don <clugd...@yahoo.com.au> 2013-04-23 01:39:09 PDT --- (In reply to comment #2) > This is a regression caused by fixing bug 8913. > > (In reply to comment #1) > > I don't think this should compile. It's like writing auto p = &5; > > -- taking the address of a manifest constant doesn't make sense. > > I think it should work. Manifest constant with array value will create array > literal, so: > > auto a = A[0].ptr; > > will be optimized to: > > auto a = [1.0, 2.0, 3.0].ptr; I think that's not valid. That isn't A[0].ptr It's A[0].dup.ptr. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------