[Issue 12401] New: Internal Compiler Error for vector operation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Mar 18 05:07:56 PDT 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12401
Summary: Internal Compiler Error for vector operation
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2014-03-18 05:07:55 PDT ---
void main() {
static immutable double[2] V = 0.5 * [1.0, 2.0];
}
DMD 2.066alpha gives:
test.d(2,36): Error: Internal Compiler Error: non-constant value [1.00000,
2.00000]
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list