[Issue 10234] Class declaration grammar seems to be incorrect
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Aug 17 21:08:47 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10234
yebblies <yebblies at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yebblies at gmail.com
--- Comment #2 from yebblies <yebblies at gmail.com> 2013-08-18 14:08:46 EST ---
dmd's parser is correct here. The ability to receive almost any type was added
to satisfy bug 1353 and bug 8513 - any non-class types are rejected during
semantic instead. This has the side effect of making error messages much
better if anybody _did_ try to make a class inherit from 'int'.
So this is purely a spec bug.
--
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