https://d.puremagic.com/issues/show_bug.cgi?id=11582



--- Comment #2 from Kenji Hara <[email protected]> 2013-11-22 22:16:30 PST ---
(In reply to comment #0)
> This gives an error:
> 
>     class C(E...) : E[0] 
>     {
>     }
> 
> Error: members expected
> Error: { } expected following aggregate declaration

This is syntactic issue. Currently class declaration grammar is defined as
follows:

----
ClassDeclaration:
    class Identifier BaseClassListopt ClassBody
    ClassTemplateDeclaration

BaseClassList:
    : SuperClass
    : SuperClass , Interfaces
    : Interfaces

SuperClass:
    Identifier
----

SuperClass should be Identifier, so it does not accept E[0].

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

Reply via email to