D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 12082 - Disallow C-style declaration syntax for associative arrays
Summary: Disallow C-style declaration syntax for associative arrays
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P2 minor
Assignee: No Owner
URL:
Keywords: diagnostic
Depends on:
Blocks:
 
Reported: 2014-02-05 04:33 UTC by bearophile_hugs
Modified: 2020-05-09 12:39 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bearophile_hugs 2014-02-05 04:33:51 UTC
Adapted from here:
https://raw.github.com/Hackerpilot/Idiotmatic-D/master/idiotmatic.d


int aa[float];
pragma(msg, typeof(aa)); // int[float]
void main() {}