[Issue 10234] New: Class declaration grammar seems to be incorrect
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jun 1 20:08:06 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10234
Summary: Class declaration grammar seems to be incorrect
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: websites
AssignedTo: nobody at puremagic.com
ReportedBy: brian-schott at cox.net
--- Comment #0 from brian-schott at cox.net 2013-06-01 20:08:05 PDT ---
The class declaration grammar defines a base class list in terms of a
comma-separated list of identifiers, but this disallows the following:
class SomeClass : other.mod.BaseClass
{
// stuff goes here...
}
I've looked in dmd's source code and found that each item in the base class
list is actually a BasicType. This doesn't make very much sense. It seems that
both the compiler and the specification are wrong here.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list