digitalmars.D.bugs - [Issue 3697] New: StructTemplateDeclaration and others missing constraint in rule
- d-bugmail puremagic.com (30/30) Jan 11 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3697
- d-bugmail puremagic.com (10/10) Feb 12 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3697
- d-bugmail puremagic.com (11/11) Mar 08 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3697
http://d.puremagic.com/issues/show_bug.cgi?id=3697
Summary: StructTemplateDeclaration and others missing
constraint in rule
Product: D
Version: 2.038
Platform: All
URL: http://digitalmars.com/d/2.0/template.html#UnionTempla
teDeclaration
OS/Version: All
Status: NEW
Keywords: spec
Severity: normal
Priority: P2
Component: www.digitalmars.com
AssignedTo: nobody puremagic.com
ReportedBy: jlquinn optonline.net
---
The grammar defines
StructTemplateDeclaration:
struct Identifier ( TemplateParameterList ) StructBody
However, in this form, optional template Constraint is missing. I think the
grammar should be:
StructTemplateDeclaration:
struct Identifier ( TemplateParameterList ) Constraints_opt StructBody
and the compiler (2.038) agrees.
UnionTemplateDeclaration, InterfaceTemplateDeclaration, and
ClassTemplateDeclaration should be similarly updated.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 11 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3697
Walter Bright <bugzilla digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla digitalmars.com
16:27:49 PST ---
Changeset 1421
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 12 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3697
Walter Bright <bugzilla digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
22:27:59 PST ---
Fixed dmd 2.041
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 08 2010









d-bugmail puremagic.com 