http://d.puremagic.com/issues/show_bug.cgi?id=1503


Manuel K�nig <manuel...@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |manuel...@gmx.net
         Resolution|                            |DUPLICATE
         OS/Version|Windows                     |All


--- Comment #3 from Manuel K�nig <manuel...@gmx.net> 2010-10-11 12:36:17 PDT ---
The typeof(foos[0].Type) x = 20; trick doesn't work for me, but aliasing the
array index expr works. This is a duplicate of #3085, which means no
declaration of the form

a[0].t x;

is possible because the parser does not accept that syntax, even when t is a
type. Your alias trick bypasses that limitation, that's why it works.

*** This issue has been marked as a duplicate of issue 3085 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to