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

--- Comment #0 from Don <> 2009-11-03 00:27:26 PST ---
I'm including this for completeness, since Walter already fixed this in svn
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:
------- You are receiving this mail because: -------

Reply via email to