Bug 3703 – static array assignment

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2010-01-13T12:45:00Z
Last change time
2015-06-09T01:27:14Z
Keywords
accepts-invalid, patch
Assigned to
nobody
Creator
ellery-newcomer

Comments

Comment #0 by ellery-newcomer — 2010-01-13T12:45:23Z
void main(){ int[1] a = [1]; int[2] b; b = a; } fails to produce a compile error. Seems to be D2 only.
Comment #1 by k.hara.pg — 2011-09-09T09:35:38Z
Comment #2 by github-bugzilla — 2012-05-07T19:43:15Z
Comment #3 by github-bugzilla — 2013-04-11T01:36:43Z