Thread overview | |||||
---|---|---|---|---|---|
|
January 12, 2010 [Issue 3697] New: StructTemplateDeclaration and others missing constraint in rule | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from Jerry Quinn <jlquinn@optonline.net> 2010-01-11 22:20:21 PST --- 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: ------- |
February 13, 2010 [Issue 3697] StructTemplateDeclaration and others missing constraint in rule | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jerry Quinn | http://d.puremagic.com/issues/show_bug.cgi?id=3697 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@digitalmars.com --- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2010-02-12 16:27:49 PST --- Changeset 1421 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 09, 2010 [Issue 3697] StructTemplateDeclaration and others missing constraint in rule | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jerry Quinn | http://d.puremagic.com/issues/show_bug.cgi?id=3697 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2010-03-08 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: ------- |
Copyright © 1999-2021 by the D Language Foundation