Re: tdpl: partial ordering of functions: conflict error

2012-01-18 Thread Jerome BENOIT
On 18/01/12 04:36, Jonathan M Davis wrote: On Wednesday, January 18, 2012 02:33:25 Jerome BENOIT wrote: And I cannot figure why :-( http://d.puremagic.com/issues/show_bug.cgi?id=1528 As a workaround, templatize the last function by changing its signature to int[] find()(int[] longer,

Re: tdpl: partial ordering of functions: conflict error

2012-01-18 Thread Timon Gehr
On 01/18/2012 02:32 PM, Jerome BENOIT wrote: On 18/01/12 04:36, Jonathan M Davis wrote: On Wednesday, January 18, 2012 02:33:25 Jerome BENOIT wrote: And I cannot figure why :-( http://d.puremagic.com/issues/show_bug.cgi?id=1528 As a workaround, templatize the last function by changing its

Re: tdpl: partial ordering of functions: conflict error

2012-01-18 Thread Timon Gehr
On 01/18/2012 04:57 PM, Timon Gehr wrote: On 01/18/2012 02:32 PM, Jerome BENOIT wrote: On 18/01/12 04:36, Jonathan M Davis wrote: On Wednesday, January 18, 2012 02:33:25 Jerome BENOIT wrote: And I cannot figure why :-( http://d.puremagic.com/issues/show_bug.cgi?id=1528 As a workaround,

Re: tdpl: partial ordering of functions: conflict error

2012-01-18 Thread Jerome BENOIT
On 18/01/12 17:07, Timon Gehr wrote: On 01/18/2012 04:57 PM, Timon Gehr wrote: On 01/18/2012 02:32 PM, Jerome BENOIT wrote: On 18/01/12 04:36, Jonathan M Davis wrote: On Wednesday, January 18, 2012 02:33:25 Jerome BENOIT wrote: And I cannot figure why :-(

Re: tdpl: partial ordering of functions: conflict error

2012-01-18 Thread Timon Gehr
On 01/18/2012 05:40 PM, Jerome BENOIT wrote: On 18/01/12 17:07, Timon Gehr wrote: On 01/18/2012 04:57 PM, Timon Gehr wrote: On 01/18/2012 02:32 PM, Jerome BENOIT wrote: On 18/01/12 04:36, Jonathan M Davis wrote: On Wednesday, January 18, 2012 02:33:25 Jerome BENOIT wrote: And I cannot

Re: tdpl: partial ordering of functions: conflict error

2012-01-18 Thread Jerome BENOIT
On 18/01/12 18:05, Timon Gehr wrote: On 01/18/2012 05:40 PM, Jerome BENOIT wrote: On 18/01/12 17:07, Timon Gehr wrote: On 01/18/2012 04:57 PM, Timon Gehr wrote: On 01/18/2012 02:32 PM, Jerome BENOIT wrote: On 18/01/12 04:36, Jonathan M Davis wrote: On Wednesday, January 18, 2012

Re: tdpl: partial ordering of functions: conflict error

2012-01-18 Thread Jonathan M Davis
On Wednesday, January 18, 2012 21:35:44 Jerome BENOIT wrote: Thanks for the precision. So I will move to the next section and come back to this part when the compiler is fix: I guess it will be fixed for the next release as it sounds as an important bug. I don't know. It's been a bug for a

tdpl: partial ordering of functions: conflict error

2012-01-17 Thread Jerome BENOIT
Hello List: On my box, the following D source, inspired by the subsection 5.5.2 of tDpl, arises a `template conflict': - T[] find(T, E)(T[] haystack, E needle) if (is(typeof(haystack[0] != needle) == bool)) {

Re: tdpl: partial ordering of functions: conflict error

2012-01-17 Thread Jonathan M Davis
On Wednesday, January 18, 2012 02:33:25 Jerome BENOIT wrote: And I cannot figure why :-( http://d.puremagic.com/issues/show_bug.cgi?id=1528 As a workaround, templatize the last function by changing its signature to int[] find()(int[] longer, int[] shorter) - Jonathan M Davis