On 21/11/2015 10:46 PM, BBaz wrote:
Seems to be fixed:

______________________
import std.math;
void main() {real function(real) c = &sin;}
______________________


https://issues.dlang.org/show_bug.cgi?id=4541

At least it works on linux x86_64.



It works because of https://github.com/D-Programming-Language/phobos/pull/3599

But it only works for the std.math intrinsics, there are plenty of others without real bodies.

Reply via email to