[Issue 39] ArrayMemberInitialization, StructMemberInitializer inconsistencies from dmd's behavior

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 19 07:26:58 PDT 2006


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


smjg at iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com
           Keywords|                            |spec




------- Comment #1 from smjg at iname.com  2006-07-19 09:26 -------
Indeed, ctod.html has an example of array initialisers nested within each
other.  So obviously, the documented ArrayMemberInitialization syntax is
inaccurate.

Moreover, why not make it a little simpler:

    ArrayMemberInitialization:
        Initializer
        AssignExpression : Initializer

    StructMemberInitialization:  // let's make the naming consistent
        Initializer
        Identifier : Initializer


-- 




More information about the Digitalmars-d-bugs mailing list