[Issue 4565] In array literals single values can replace arrays of length 1

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4565 Iain Buclaw changed: What|Removed |Added Priority|P2 |P3 --

[Issue 4565] In array literals single values can replace arrays of length 1

2013-05-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4565 Shriramana Sharma changed: What|Removed |Added CC||samj...@gmail.com --- Comment #7 f

[Issue 4565] In array literals single values can replace arrays of length 1

2013-03-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4565 --- Comment #6 from bearophile_h...@eml.cc 2013-03-11 19:44:12 PDT --- (In reply to comment #4) Sorry for the very delayed answer. > > A sloppy syntax is bad because it *always* offers space for bugs, like this > > one, dmd compiles this progr

[Issue 4565] In array literals single values can replace arrays of length 1

2012-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4565 --- Comment #5 from Andrej Mitrovic 2012-11-15 00:56:56 PST --- > After all, a == [1, 2, 0]. There is no bug. Ok, you can close https://github.com/D-Programming-Language/dmd/pull/1207 if bug is invalid. -- Configure issuemail: http://d.pure

[Issue 4565] In array literals single values can replace arrays of length 1

2012-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4565 --- Comment #4 from Kenji Hara 2012-11-15 00:49:19 PST --- (In reply to comment #0) > This program compiles with no errors with dmd 2.047: > > int[1][3] a1 = [1, 2, 3]; > void main() { > int[1][3] a2 = [1, 2, 3]; > } > > But those array li

[Issue 4565] In array literals single values can replace arrays of length 1

2012-10-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4565 yebblies changed: What|Removed |Added Keywords||pull CC|

[Issue 4565] In array literals single values can replace arrays of length 1

2012-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4565 --- Comment #2 from bearophile_h...@eml.cc 2012-10-22 16:26:08 PDT --- (In reply to comment #1) > Do you by any chance have a somewhat elaborate set of test-cases that cover > many types of arrays which should and shouldn't compile? I don't, so

[Issue 4565] In array literals single values can replace arrays of length 1

2012-10-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4565 Andrej Mitrovic changed: What|Removed |Added CC||andrej.mitrov...@gmail.com As