Re: alias parameters and basic types

2016-07-31 Thread deadalnix via Digitalmars-d
On Sunday, 31 July 2016 at 11:50:35 UTC, Steven Schveighoffer wrote: On 7/30/16 5:26 PM, deadalnix wrote: I take that, as you weren't there at the 2016 event, it was reiterated in 2016. Timon was at dconf 2016. I don't recall it being discussed either, but maybe in a small discussion? I

Re: alias parameters and basic types

2016-07-31 Thread Steven Schveighoffer via Digitalmars-d
On 7/30/16 5:26 PM, deadalnix wrote: On Saturday, 30 July 2016 at 21:21:30 UTC, Timon Gehr wrote: On 30.07.2016 22:58, Jonathan M Davis via Digitalmars-d wrote: The one that needs to be convinced is Walter. IIRC he said at DConf that it should be fixed. We did a tour of DConf 2015 with Davi

Re: alias parameters and basic types

2016-07-30 Thread deadalnix via Digitalmars-d
On Saturday, 30 July 2016 at 21:21:30 UTC, Timon Gehr wrote: On 30.07.2016 22:58, Jonathan M Davis via Digitalmars-d wrote: The one that needs to be convinced is Walter. IIRC he said at DConf that it should be fixed. We did a tour of DConf 2015 with David Nadlinger and everybody was super c

Re: alias parameters and basic types

2016-07-30 Thread deadalnix via Digitalmars-d
On Saturday, 30 July 2016 at 19:21:27 UTC, Jonathan M Davis wrote: I think that Walter's answer in those bug reports is pretty clear. An alias parameter aliases a symbol. Basic types are keywords, not symbols, so they can't be passed as an argument to an alias parameter. alias bind to built

Re: alias parameters and basic types

2016-07-30 Thread Timon Gehr via Digitalmars-d
On 30.07.2016 22:58, Jonathan M Davis via Digitalmars-d wrote: The one that needs to be convinced is Walter. IIRC he said at DConf that it should be fixed.

Re: alias parameters and basic types

2016-07-30 Thread Jonathan M Davis via Digitalmars-d
On Saturday, July 30, 2016 19:41:27 Lodovico Giaretta via Digitalmars-d wrote: > On Saturday, 30 July 2016 at 19:21:27 UTC, Jonathan M Davis wrote: > > I think that Walter's answer in those bug reports is pretty > > clear. > > Thank you for your answer. > I asked because I also found this[1], so I

Re: alias parameters and basic types

2016-07-30 Thread ag0aep6g via Digitalmars-d
On 07/30/2016 09:21 PM, Jonathan M Davis via Digitalmars-d wrote: I think that Walter's answer in those bug reports is pretty clear. An alias parameter aliases a symbol. Basic types are keywords, not symbols, so they can't be passed as an argument to an alias parameter. As far as I see, he just

Re: alias parameters and basic types

2016-07-30 Thread Lodovico Giaretta via Digitalmars-d
On Saturday, 30 July 2016 at 19:21:27 UTC, Jonathan M Davis wrote: I think that Walter's answer in those bug reports is pretty clear. Thank you for your answer. I asked because I also found this[1], so I hoped it was going to change. [1] http://forum.dlang.org/post/lnaidcyffgqkvekaw...@foru

Re: alias parameters and basic types

2016-07-30 Thread Jonathan M Davis via Digitalmars-d
On Saturday, July 30, 2016 18:53:43 Lodovico Giaretta via Digitalmars-d wrote: > Hi, > > I know this has been discussed before (like, before I started > using D on a daily basis and hanging around in the forums), but... > > Is there a reason why alias parameters do not accept basic types? > Will th

alias parameters and basic types

2016-07-30 Thread Lodovico Giaretta via Digitalmars-d
Hi, I know this has been discussed before (like, before I started using D on a daily basis and hanging around in the forums), but... Is there a reason why alias parameters do not accept basic types? Will this be changed somewhere in the future, as many asked for it? It is very surprising the