← Back to index
|
Original Bugzilla link
Bug 13622 – [AA] unable to compare const associative array with mutable
Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-10-16T21:54:24Z
Last change time
2024-12-13T18:31:29Z
Assigned to
No Owner
Creator
Igor Stepanov
Moved to GitHub: dmd#17684 →
Comments
Comment #0
by wazar.leollone — 2014-10-16T21:54:24Z
void main() { int[int] aa1 = [1:2]; const int[int] aa2 = aa1; assert(aa1 == aa2); } This code causes a error: Error: incompatible types for ((aa1) == (aa2)): 'int[int]' and 'const(int[int])'
Comment #1
by robert.schadek — 2024-12-13T18:31:29Z
THIS ISSUE HAS BEEN MOVED TO GITHUB
https://github.com/dlang/dmd/issues/17684
DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB