Bug 3589 – BaseClassList and InterfaceClasses rules are incorrect, missing ','

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2009-12-07T07:36:00Z
Last change time
2015-06-09T01:27:02Z
Keywords
spec
Assigned to
nobody
Creator
jlquinn

Comments

Comment #0 by jlquinn — 2009-12-07T07:36:03Z
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
Comment #1 by leandro.lucarella — 2009-12-14T06:29:23Z
Comment #2 by bugzilla — 2009-12-31T11:14:01Z
Fixed dmd 1.054 and 2.038