Bug 10353 – Parser should accept 'super' template argument without parenthesis
Status
RESOLVED
Resolution
INVALID
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-06-13T18:43:00Z
Last change time
2013-06-13T18:50:23Z
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0 by k.hara.pg — 2013-06-13T18:43:48Z
Currently Foo!this is accepted but Foo!super isn't.
template Foo(alias X) {}
class C
{
void foo()
{
alias F1 = Foo!this; // OK
alias F2 = Foo!super; // NG
}
}