[Issue 7011] New: No line number error for vector power

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 25 16:42:48 PST 2011


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

           Summary: No line number error for vector power
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2011-11-25 16:41:52 PST ---
This code doesn't compile and its error message doesn't even tell the line
number:


void main() {
    auto a = [1, 2, 3];
    a[] ^^= 2;
}


DMD 2.057head gives:

Error: must import std.math to use ^^ operator

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