[Issue 6548] [e2ir.c] Problem with ^^ vector op

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 26 04:28:56 PDT 2011


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



--- Comment #5 from bearophile_hugs at eml.cc 2011-09-26 04:28:19 PDT ---
(In reply to comment #2)
> Can you see if you can break things in any way after this commit?

Now this code doesn't crash DMD:

void main() {
    auto _ = [1][] ^^ 2;
}


But this code doesn't work yet:

import std.math;
void main() {
    int[5] a, b;
    b[] = a[] ^^ 2;
}


It gives:

...\dmd2\src\phobos\std\math.d(58): Error: module math is in file
'core\stdc\math.d' which cannot be read

-- 
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