When creating a delegate with a function that does not match the funcdef's signature, the error message given does not refer to the function name, but rather to the funcdef name:
funcdef void Foo();
class Bar
{
bool Callback()
{
return true;
}
}
Bar bar;
Foo@ pCallback = Foo( bar.Callback );
This gives the following error message:
No matching signatures to 'void Foo()'
This can be rather confusing.