[Issue 12365] Assigning 1D array to 2D array should require cast
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 22 12:51:41 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=12365
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |razvan.nitu1305 at gmail.com
Resolution|--- |FIXED
--- Comment #2 from RazvanN <razvan.nitu1305 at gmail.com> ---
The code in Ex1 now yields:
test.d(4): Error: cannot implicitly convert expression `a` of type `int[]` to
`int[2][]`
Closing as fixed.
--
More information about the Digitalmars-d-bugs
mailing list