www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3589] New: BaseClassList and InterfaceClasses rules are incorrect, missing ','

reply d-bugmail puremagic.com writes:
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: nobody puremagic.com
        ReportedBy: jlquinn optonline.net



---
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: -------
Dec 07 2009
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3589


Leandro Lucarella <llucax gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |llucax gmail.com



PST ---
http://www.dsource.org/projects/phobos/changeset/1377

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 14 2009
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3589


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED



11:14:01 PST ---
Fixed dmd 1.054 and 2.038

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