Bug 12082 – Disallow C-style declaration syntax for associative arrays

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-02-05T04:33:51Z
Last change time
2020-05-09T12:39:02Z
Keywords
diagnostic
Assigned to
No Owner
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2014-02-05T04:33:51Z
Adapted from here: https://raw.github.com/Hackerpilot/Idiotmatic-D/master/idiotmatic.d int aa[float]; pragma(msg, typeof(aa)); // int[float] void main() {}