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

           Summary: BaseClassList and InterfaceClasses rules are
                    incorrect, missing ','
           Product: D
           Version: 2.036
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: nob...@puremagic.com
        ReportedBy: jlqu...@optonline.net


--- Comment #0 from Jerry Quinn <jlqu...@optonline.net> 2009-12-07 07:36:03 PST 
---
The existing definitions are

BaseClassList:
    : SuperClass
    : SuperClass InterfaceClasses
    : InterfaceClass

InterfaceClasses:
    InterfaceClass
    InterfaceClass InterfaceClasses


However, the rest of the docs and the compiler believe that the following is
correct:

class A {}
interface B {}
class C : A, B {}

So, the rules need to represent the commas:

BaseClassList:
    : SuperClass
    : SuperClass , InterfaceClasses
    : InterfaceClass

InterfaceClasses:
    InterfaceClass
    InterfaceClass , InterfaceClasses

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

Reply via email to