[Issue 9029] New: Built-in types treated specially for alias parameters
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Nov 15 02:13:33 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=9029
Summary: Built-in types treated specially for alias parameters
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: timon.gehr at gmx.ch
--- Comment #0 from timon.gehr at gmx.ch 2012-11-15 02:13:29 PST ---
DMD 2.060:
template Foo(alias a){ }
struct S{}
alias S X; // ok
alias int Y; // ok
mixin Foo!S; // ok
mixin Foo!int; // not ok
The code should compile.
--
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