[Issue 12082] New: Disallow C-style declaration syntax for associative arrays
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 5 04:33:53 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12082
Summary: Disallow C-style declaration syntax for associative
arrays
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: diagnostic
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2014-02-05 04:33:51 PST ---
Adapted from here:
https://raw.github.com/Hackerpilot/Idiotmatic-D/master/idiotmatic.d
int aa[float];
pragma(msg, typeof(aa)); // int[float]
void main() {}
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list