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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from [email protected] 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: -------