digitalmars.D.bugs - [Issue 6612] New: Associative arrays with associative array keys literals
- d-bugmail puremagic.com (29/29) Sep 06 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6612
- d-bugmail puremagic.com (12/12) Jun 07 2012 http://d.puremagic.com/issues/show_bug.cgi?id=6612
- d-bugmail puremagic.com (11/11) Jun 11 2012 http://d.puremagic.com/issues/show_bug.cgi?id=6612
- d-bugmail puremagic.com (10/10) Jun 11 2012 http://d.puremagic.com/issues/show_bug.cgi?id=6612
http://d.puremagic.com/issues/show_bug.cgi?id=6612
Summary: Associative arrays with associative array keys
literals
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody puremagic.com
ReportedBy: bearophile_hugs eml.cc
void main() {
auto aa1 = [1: 2]; // OK
auto aa2 = [4: 5]; // OK
int[int[int]] aa3 = [a1a:3, a1b:6]; // OK
int[int[int]] aa4 = [[1:2]:3, [4:5]:6]; // error
}
DMD 2.055beta shows:
test.d(5): comma expected separating array initializers, not :
test.d(5): semicolon expected, not '3'
test.d(5): found ':' when expecting ';' following statement
test.d(5): found ']' when expecting ';' following statement
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 06 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6612
Kenji Hara <k.hara.pg gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
Platform|x86 |All
OS/Version|Windows |All
https://github.com/D-Programming-Language/dmd/pull/992
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 07 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6612 Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c0eadf4f979b7d2216d6b77797575759fc9f25a8 fix Issue 6612 - Associative arrays with associative array keys literals https://github.com/D-Programming-Language/dmd/commit/52d3314a396c5042ca4dd6f110dbf749a7ce5459 Issue 6612 - Associative arrays with associative array keys literals -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 11 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6612
Walter Bright <bugzilla digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |bugzilla digitalmars.com
Resolution| |FIXED
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 11 2012









d-bugmail puremagic.com 