D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 2662 - Symbol template argument not defined by grammar or text
Summary: Symbol template argument not defined by grammar or text
Status: RESOLVED INVALID
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: All All
: P2 normal
Assignee: No Owner
URL: http://www.digitalmars.com/d/2.0/temp...
Keywords: spec
Depends on:
Blocks:
 
Reported: 2009-02-14 10:25 UTC by Jerry Quinn
Modified: 2015-06-09 01:21 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Jerry Quinn 2009-02-14 10:25:59 UTC
Under template instantiation, Symbol is included as an alternative under TemplateArgument.  The syntax of symbol isn't described anywhere, though.

Also, the text below doesn't describe what instantiation looks like with a symbol argument.

I get the impression that Symbol is mistakenly located here rather than under TemplateParameter in the section on template declarations.
Comment 1 Walter Bright 2012-01-23 00:23:18 UTC
The grammar is given here:

dlang.org/template.html#Symbol

And it's described under TemplateAliasParameter.