August 02, 2003 Re: typedef bug | ||||
---|---|---|---|---|
| ||||
Posted in reply to Burton Radons | "Burton Radons" <loth@users.sourceforge.net> wrote in message news:bge8fs$s2i$1@digitaldaemon.com... > My bad. DMD 0.68 under Windows XP: > > typedef int [int] aType; > aType a; > > void foo () > { > 1 in a; > } > > This fails compilation using "dmd f.d" with the error message "f.d(6): rvalue of in expression must be an associative array, not aType". It should compile. Ok, I can take care of that one <g>. |
Copyright © 1999-2021 by the D Language Foundation