November 03, 2009 [Issue 3471] New: [tdpl] Complicated array expressions fail to compile | ||||
---|---|---|---|---|
| ||||
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: nobody@puremagic.com ReportedBy: clugdbug@yahoo.com.au --- Comment #0 from Don <clugdbug@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: ------- |
November 13, 2009 [Issue 3471] [tdpl] Complicated array expressions fail to compile | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don | http://d.puremagic.com/issues/show_bug.cgi?id=3471 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Don <clugdbug@yahoo.com.au> 2009-11-13 03:51:15 PST --- Fixed DMD1.051 and 2.036. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation