[Issue 8557] AA error with string[string][]

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

[Issue 8557] AA error with string[string][]

2022-09-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8557 ZombineDev changed: What|Removed |Added CC||petar.p.ki...@gmail.com --

[Issue 8557] AA error with string[string][]

2013-11-28 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8557 --- Comment #16 from bearophile_h...@eml.cc 2013-11-28 01:51:49 PST --- (In reply to comment #15) > Here I think both should compile or both should not compile: > > > void main() { > enum Foo { A } > int[] a1 = [Foo.A: 10]; // OK

[Issue 8557] AA error with string[string][]

2013-11-28 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8557 --- Comment #15 from bearophile_h...@eml.cc 2013-11-28 00:55:17 PST --- Here I think both should compile or both should not compile: void main() { enum Foo { A } int[] a1 = [Foo.A: 10]; // OK int[] a2; a2 = [Foo.A: 10]; // Err

[Issue 8557] AA error with string[string][]

2013-11-28 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8557 --- Comment #14 from bearophile_h...@eml.cc 2013-11-28 00:35:09 PST --- (In reply to comment #13) > This issue contains one compiler implementation bug and two enhancements. This is from Issue 4703 : void foo(int[] a) {} void bar(int[int] aa

[Issue 8557] AA error with string[string][]

2013-11-27 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8557 --- Comment #13 from Kenji Hara 2013-11-27 23:20:26 PST --- This issue contains one compiler implementation bug and two enhancements. In a variable definition which has explicit type declaration, the 'target' type should be applied to

[Issue 8557] AA error with string[string][]

2013-11-27 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8557 --- Comment #12 from bearophile_h...@eml.cc 2013-11-27 17:41:12 PST --- Another case: void main() { int[][int] aa1; aa1 = [1: [2, 3], 4: []]; // OK int[int][int] aa2; aa2 = [1: [2: 3], 4: []]; // error } test.d(5): Error: inc

[Issue 8557] AA error with string[string][]

2013-11-25 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8557 --- Comment #11 from bearophile_h...@eml.cc 2013-11-25 01:22:48 PST --- (In reply to comment #10) > It's actually turned out worse than I thought. > > I think we should change the rules a little. These test cases should all > compile, and th

[Issue 8557] AA error with string[string][]

2013-11-25 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8557 --- Comment #10 from yebblies 2013-11-25 19:24:11 EST --- (In reply to comment #9) > (In reply to comment #8) > > Ok I added those cases too. > > Thank you, such small things improve the usability of D a lot. It's actually turned out worse t

[Issue 8557] AA error with string[string][]

2013-11-24 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8557 --- Comment #9 from bearophile_h...@eml.cc 2013-11-24 23:54:54 PST --- (In reply to comment #8) > Ok I added those cases too. Thank you, such small things improve the usability of D a lot. -- Configure issuemail: https://d.puremagic.com/issu

[Issue 8557] AA error with string[string][]

2013-11-24 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8557 --- Comment #8 from yebblies 2013-11-25 16:15:12 EST --- Ok I added those cases too. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 8557] AA error with string[string][]

2013-11-24 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8557 --- Comment #7 from yebblies 2013-11-25 03:49:50 EST --- (In reply to comment #6) > > void main() { > int[char][char] foo1 = ['A': ['B': 1]]; //rejects-valid > int[char][char] foo2 = cast()['A': ['B': 1]]; //workaround > } Nope. Thi

[Issue 8557] AA error with string[string][]

2013-11-24 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8557 --- Comment #6 from bearophile_h...@eml.cc 2013-11-24 08:38:48 PST --- (In reply to comment #5) > Most of these were done by issue 5448, except a5. > > https://github.com/D-Programming-Language/dmd/pull/2876 Is that also fixing this? void ma

[Issue 8557] AA error with string[string][]

2013-11-24 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8557 yebblies changed: What|Removed |Added Keywords||pull, rejects-valid CC|

[Issue 8557] AA error with string[string][]

2012-08-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8557 --- Comment #4 from Kenji Hara 2012-08-19 01:03:40 PDT --- (In reply to comment #3) > (In reply to comment #2) > > This might be a dup of bug 5448. > > It is not *exactly* the same, but they do overlap. > Thank you for pointing that out. > >

[Issue 8557] AA error with string[string][]

2012-08-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8557 1100110 <10equa...@gmail.com> changed: What|Removed |Added CC||10equa...@gmail.com

[Issue 8557] AA error with string[string][]

2012-08-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8557 --- Comment #2 from Kenji Hara 2012-08-18 13:23:42 PDT --- This might be a dup of bug 5448. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 8557] AA error with string[string][]

2012-08-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8557 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Com