[Issue 9029] Built-in types treated specially for alias parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 29 03:37:36 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=9029



--- Comment #4 from Manu <turkeyman at gmail.com> 2012-11-29 03:37:32 PST ---
(In reply to comment #3)
> This is one of those perennial issues, that everybody discovers.
> 
> Previous enhancement requests identical to this one include bug 1100, bug 3116,
> bug 4639. I remember requesting it once, as well.
> 
> It goes back even further. Here's a discussion from July 2004 (template alias
> parameters were first implemented in Jan 2004, so this is the dawn of time):
> 
> http://digitalmars.com/d/archives/digitalmars/D/6063.html
> 
> Interestingly one thing which _was_ changed in D2 is that template alias
> parameters can now include expressions. Late in the history of D1, local
> variables were also added as template alias parameters. But still not basic
> types.

There was a proposal recently on the NG suggesting builtin types should have
entries in the symbol table. Sounded fairly reasonable.

-- 
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