[Issue 2434] Compiler generates code that does not pass with -w for some array operations

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 13 11:56:01 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=2434


Jarrett Billingsley <jarrett.billingsley at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


--- Comment #2 from Jarrett Billingsley <jarrett.billingsley at gmail.com> 2011-07-13 11:50:47 PDT ---
So the compiler now requires that I put [] on operands in array operations, but
the bug has NOT been fixed.

T[] a = [1, 2, 3, 4, 5];
a[] = 1 op a[];

Still fails with the same warning when -w is thrown, and the last example still
fails as well.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list