Rayerd/dfl — pull request #11 by shoo (2012-01-09 11:49:03+00:00)
Title: Event supports function pointers for delegate inference.

This pullrequest solves following issue:

```D
import dfl.all;
pragma(lib, "dfl");

void main()
{
auto f = new Form;
f.click ~= (Object sender, EventArgs e)
{
msgBox("!");
};
}
```

Result:

import\dfl\event.d(219): Error: static assert "DFL: Even
t handler must be a delegate"
import\dfl\event.d(76): instantiated from here: addHandler!(void function(Object sender, EventArgs e) @system)
main.d(7): instantiated from here: opCatAssign!(void function(Object sender, EventArgs e) @system)