← Back to index
|
Original Bugzilla link
Bug 12401 – Internal Compiler Error for vector operation
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-03-18T05:07:00Z
Last change time
2014-12-18T22:56:42Z
Keywords
rejects-valid
Assigned to
nobody
Creator
bearophile_hugs
Comments
Comment #0
by bearophile_hugs — 2014-03-18T05:07:55Z
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]
Comment #1
by john.loughran.colvin — 2014-12-18T22:56:42Z
*** This issue has been marked as a duplicate of issue 11717 ***