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: nob...@puremagic.com
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@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: -------

Reply via email to