Re: Function pointer variable not recognized as function by is-operator

2012-10-07 Thread Jonathan M Davis
On Sunday, October 07, 2012 10:42:49 Timon Gehr wrote: > On 10/07/2012 10:35 AM, Jonathan M Davis wrote: > > On Sunday, October 07, 2012 10:25:41 Tommi wrote: > >> The following compiles, which I'm pretty sure must be a bug, > >> right? Just checking to be sure I won't be polluting the bug > >> tra

Re: Function pointer variable not recognized as function by is-operator

2012-10-07 Thread Timon Gehr
On 10/07/2012 10:35 AM, Jonathan M Davis wrote: On Sunday, October 07, 2012 10:25:41 Tommi wrote: The following compiles, which I'm pretty sure must be a bug, right? Just checking to be sure I won't be polluting the bug tracker. void main() { auto f = (int i) {}; static assert (!is(

Re: Function pointer variable not recognized as function by is-operator

2012-10-07 Thread Jonathan M Davis
On Sunday, October 07, 2012 10:25:41 Tommi wrote: > The following compiles, which I'm pretty sure must be a bug, > right? Just checking to be sure I won't be polluting the bug > tracker. > > void main() > { > auto f = (int i) {}; > static assert (!is(f == function)); // should fail >