http://d.puremagic.com/issues/show_bug.cgi?id=3471
Summary: [tdpl] Complicated array expressions fail to compile Product: D Version: 1.050 Platform: Other OS/Version: Windows Status: NEW Keywords: patch, rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: clugd...@yahoo.com.au --- Comment #0 from Don <clugd...@yahoo.com.au> 2009-11-03 00:27:26 PST --- I'm including this for completeness, since Walter already fixed this in svn 220. Applies to D1 as well. void main() { double[] a, b, c; double d; a[] = -(b[] * (c[] + 4)) + c[] * d; } Fails with: test.d(6): Error: 'b[] * (c[] + cast(double)4)' is not of arithmetic type, it is a double[] -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------